aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-19 19:06:22 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-19 19:06:22 +0100
commit4772e48cc9e2e6ed39776b007cbf0d5514f4c7b9 (patch)
tree7195a816762dfcc301194faed3a9ab6b7edfca95 /scripts
parentb45f55437f8239acf5576f4f5282b68eb933db32 (diff)
downloadPuppet-4772e48cc9e2e6ed39776b007cbf0d5514f4c7b9.tar.gz
Puppet-4772e48cc9e2e6ed39776b007cbf0d5514f4c7b9.tar.zst
Puppet-4772e48cc9e2e6ed39776b007cbf0d5514f4c7b9.zip
Populate keyring at install
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/arch_install_script.sh3
-rwxr-xr-xscripts/ovh_cloud_instance/arch_host_script.sh2
-rwxr-xr-xscripts/ovh_vps_ssd/arch_chroot_script.sh2
3 files changed, 5 insertions, 2 deletions
diff --git a/scripts/arch_install_script.sh b/scripts/arch_install_script.sh
index 21e202f..d2c6107 100755
--- a/scripts/arch_install_script.sh
+++ b/scripts/arch_install_script.sh
@@ -6,6 +6,9 @@ CODE_PATH="/etc/puppetlabs/code"
6 6
7rm -rf $CODE_PATH 7rm -rf $CODE_PATH
8 8
9pacman-key --init
10pacman-key --populate archlinux
11
9git clone -b $git_branch --recursive https://git.immae.eu/perso/Immae/Projets/Puppet.git $CODE_PATH 12git clone -b $git_branch --recursive https://git.immae.eu/perso/Immae/Projets/Puppet.git $CODE_PATH
10puppet apply --environment $environment --tags base_installation --test $CODE_PATH/manifests/site.pp 13puppet apply --environment $environment --tags base_installation --test $CODE_PATH/manifests/site.pp
11# The password seed requires puppet to be run twice 14# The password seed requires puppet to be run twice
diff --git a/scripts/ovh_cloud_instance/arch_host_script.sh b/scripts/ovh_cloud_instance/arch_host_script.sh
index 3408563..42dcc4a 100755
--- a/scripts/ovh_cloud_instance/arch_host_script.sh
+++ b/scripts/ovh_cloud_instance/arch_host_script.sh
@@ -36,7 +36,7 @@ for i in /mnt/*; do
36done 36done
37##### /FIXME #### 37##### /FIXME ####
38 38
39sudo pacstrap /mnt base git puppet 39sudo pacstrap -G /mnt base git puppet
40 40
41echo "$PART / auto defaults 0 1" | sudo tee /mnt/etc/fstab 41echo "$PART / auto defaults 0 1" | sudo tee /mnt/etc/fstab
42# /Install very basic system 42# /Install very basic system
diff --git a/scripts/ovh_vps_ssd/arch_chroot_script.sh b/scripts/ovh_vps_ssd/arch_chroot_script.sh
index 9dc5c46..7b7887f 100755
--- a/scripts/ovh_vps_ssd/arch_chroot_script.sh
+++ b/scripts/ovh_vps_ssd/arch_chroot_script.sh
@@ -21,7 +21,7 @@ for i in /mnt/*; do
21done 21done
22##### /FIXME #### 22##### /FIXME ####
23 23
24pacstrap /mnt base git puppet 24pacstrap -G /mnt base git puppet
25 25
26echo "$PART / auto defaults 0 1" > /mnt/etc/fstab 26echo "$PART / auto defaults 0 1" > /mnt/etc/fstab
27 27