blob: 3ca2b51816128b0694ff2491c57bb58e009f4b46 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
git_branch="$1"
environment="$2"
DEVICE="/dev/sda1"
MOUNTPOINT="/mnt"
cp /tmp/arch_puppet_configuration_script.sh "$MOUNTPOINT/root/"
/tmp/root.x86_64/bin/arch-chroot "$MOUNTPOINT" /root/arch_puppet_configuration_script.sh "$git_branch" "$environment"
umount "$MOUNTPOINT"
|