From 57875795b1346bb60af5af8077e1b293d8a08162 Mon Sep 17 00:00:00 2001 From: Leigh Taylor Date: Sat, 17 Jun 2017 22:28:04 +0100 Subject: [PATCH] Update create-controller.sh Fix duplicate mnt in path on line 88 of scripts/create-controller.sh --- scripts/create-controller.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-controller.sh b/scripts/create-controller.sh index 9c2b614..04da0fd 100755 --- a/scripts/create-controller.sh +++ b/scripts/create-controller.sh @@ -85,7 +85,7 @@ main(){ echo -e "\nauto ethpi4\nallow-hotplug ethpi4\niface ethpi4 inet manual\npre-up brctl addif br0 ethpi4\nup ifconfig ethpi4 up" >> ~/mnt/etc/network/interfaces && \ cp clusterhat ~/mnt/sbin/clusterhat && \ chmod a+x ~/mnt/sbin/clusterhat && \ - chroot ~/mnt rm -f mnt/etc/ssh/*key* && \ + rm -f ~/mnt/etc/ssh/*key* && \ chroot ~/mnt apt-get -qy autoremove --purge && \ chroot ~/mnt apt-get clean if [ $? -ne 0 ]; then