aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-10 12:31:32 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 08:02:07 +0200
commit2742958fd69c91c442685be62140f1e29e363b95 (patch)
tree987aee9281ce774c031c40d6626797ad7ec878e9 /scripts
parentb5305b5cad5cbb0a2c072b29f2d4dc05126c39d4 (diff)
downloadPuppet-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-xscripts/ovh_cloud_instance/arch_host_script.sh4
-rwxr-xr-xscripts/ovh_vps_ssd/arch_chroot_script.sh4
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"
26sudo mount "$DEVICE" /mnt 26sudo mount "$DEVICE" /mnt
27 27
28##### FIXME: mkfs.ext4 would be better #### 28##### mkfs.ext4 would be better ####
29for i in /mnt/*; do 29for 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
36done 36done
37##### /FIXME #### 37##### / ####
38 38
39sudo pacstrap -G /mnt base git puppet 39sudo 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"
11mount "$DEVICE" /mnt 11mount "$DEVICE" /mnt
12 12
13##### FIXME: mkfs.ext4 would be better #### 13##### mkfs.ext4 would be better ####
14for i in /mnt/*; do 14for 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
21done 21done
22##### /FIXME #### 22##### / ####
23 23
24pacstrap -G /mnt base git puppet 24pacstrap -G /mnt base git puppet
25 25