aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/install_script.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/install_script.sh b/bin/install_script.sh
index 15c770c..d9d3808 100755
--- a/bin/install_script.sh
+++ b/bin/install_script.sh
@@ -116,7 +116,7 @@ tar -xzf "\$NAME"
116 116
117echo 'Server = http://archlinux.mirrors.ovh.net/archlinux/\$repo/os/\$arch' > /tmp/root.x86_64/etc/pacman.d/mirrorlist 117echo 'Server = http://archlinux.mirrors.ovh.net/archlinux/\$repo/os/\$arch' > /tmp/root.x86_64/etc/pacman.d/mirrorlist
118 118
119DEVICE_STR=\$(cat /proc/mounts | grep "/dev/sd.. /mnt/") 119DEVICE_STR=\$(cat /proc/mounts | grep "/dev/[sv]d.. /mnt/")
120DEVICE=\$(echo "\$DEVICE_STR" | cut -d' ' -f1) 120DEVICE=\$(echo "\$DEVICE_STR" | cut -d' ' -f1)
121MOUNTPOINT=\$(echo "\$DEVICE_STR" | cut -d' ' -f2) 121MOUNTPOINT=\$(echo "\$DEVICE_STR" | cut -d' ' -f2)
122 122
@@ -201,7 +201,7 @@ puppet apply --test \$CODE_PATH/manifests/site.pp
201EOF 201EOF
202 202
203cat > $ARCH_HOST_PUPPET_CONFIGURATION_SCRIPT <<EOF 203cat > $ARCH_HOST_PUPPET_CONFIGURATION_SCRIPT <<EOF
204DEVICE_STR=\$(cat /proc/mounts | grep "/dev/sd.. /mnt/") 204DEVICE_STR=\$(cat /proc/mounts | grep "/dev/[sv]d.. /mnt/")
205DEVICE=\$(echo "\$DEVICE_STR" | cut -d' ' -f1) 205DEVICE=\$(echo "\$DEVICE_STR" | cut -d' ' -f1)
206MOUNTPOINT=\$(echo "\$DEVICE_STR" | cut -d' ' -f2) 206MOUNTPOINT=\$(echo "\$DEVICE_STR" | cut -d' ' -f2)
207 207