blob: 6aae8a796324050e836648283229e6d4d0a96f93 (
plain) (
tree)
|
|
#!/bin/bash
git_branch="$1"
environment="$2"
MOUNTPOINT=/mnt
sudo cp /tmp/arch_puppet_configuration_script.sh "$MOUNTPOINT/root/"
sudo arch-chroot "$MOUNTPOINT" /root/arch_puppet_configuration_script.sh "$git_branch" "$environment"
sudo umount "$MOUNTPOINT"
|