diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-10 12:31:32 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-11 08:02:07 +0200 |
commit | 2742958fd69c91c442685be62140f1e29e363b95 (patch) | |
tree | 987aee9281ce774c031c40d6626797ad7ec878e9 /scripts | |
parent | b5305b5cad5cbb0a2c072b29f2d4dc05126c39d4 (diff) | |
download | Puppet-2742958fd69c91c442685be62140f1e29e363b95.tar.gz Puppet-2742958fd69c91c442685be62140f1e29e363b95.tar.zst Puppet-2742958fd69c91c442685be62140f1e29e363b95.zip |
Move todos to readme.md and add first documentation
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ovh_cloud_instance/arch_host_script.sh | 4 | ||||
-rwxr-xr-x | scripts/ovh_vps_ssd/arch_chroot_script.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/ovh_cloud_instance/arch_host_script.sh b/scripts/ovh_cloud_instance/arch_host_script.sh index 42dcc4a..378b0be 100755 --- a/scripts/ovh_cloud_instance/arch_host_script.sh +++ b/scripts/ovh_cloud_instance/arch_host_script.sh | |||
@@ -25,7 +25,7 @@ PART="/dev/disk/by-uuid/$UUID" | |||
25 | # mkfs.ext4 -F -U "$UUID" "$DEVICE" | 25 | # mkfs.ext4 -F -U "$UUID" "$DEVICE" |
26 | sudo mount "$DEVICE" /mnt | 26 | sudo mount "$DEVICE" /mnt |
27 | 27 | ||
28 | ##### FIXME: mkfs.ext4 would be better #### | 28 | ##### mkfs.ext4 would be better #### |
29 | for i in /mnt/*; do | 29 | for i in /mnt/*; do |
30 | if [ "$i" = "/mnt/boot" ]; then | 30 | if [ "$i" = "/mnt/boot" ]; then |
31 | # keep /boot/grub | 31 | # keep /boot/grub |
@@ -34,7 +34,7 @@ for i in /mnt/*; do | |||
34 | sudo rm -rf $i | 34 | sudo rm -rf $i |
35 | fi | 35 | fi |
36 | done | 36 | done |
37 | ##### /FIXME #### | 37 | ##### / #### |
38 | 38 | ||
39 | sudo pacstrap -G /mnt base git puppet | 39 | sudo pacstrap -G /mnt base git puppet |
40 | 40 | ||
diff --git a/scripts/ovh_vps_ssd/arch_chroot_script.sh b/scripts/ovh_vps_ssd/arch_chroot_script.sh index 7b7887f..57e793b 100755 --- a/scripts/ovh_vps_ssd/arch_chroot_script.sh +++ b/scripts/ovh_vps_ssd/arch_chroot_script.sh | |||
@@ -10,7 +10,7 @@ DEVICE=$(realpath "$PART") | |||
10 | # mkfs.ext4 -F -U "$UUID" "$DEVICE" | 10 | # mkfs.ext4 -F -U "$UUID" "$DEVICE" |
11 | mount "$DEVICE" /mnt | 11 | mount "$DEVICE" /mnt |
12 | 12 | ||
13 | ##### FIXME: mkfs.ext4 would be better #### | 13 | ##### mkfs.ext4 would be better #### |
14 | for i in /mnt/*; do | 14 | for i in /mnt/*; do |
15 | if [ "$i" = "/mnt/boot" ]; then | 15 | if [ "$i" = "/mnt/boot" ]; then |
16 | # keep /boot/grub | 16 | # keep /boot/grub |
@@ -19,7 +19,7 @@ for i in /mnt/*; do | |||
19 | rm -rf $i | 19 | rm -rf $i |
20 | fi | 20 | fi |
21 | done | 21 | done |
22 | ##### /FIXME #### | 22 | ##### / #### |
23 | 23 | ||
24 | pacstrap -G /mnt base git puppet | 24 | pacstrap -G /mnt base git puppet |
25 | 25 | ||