From 43f626075f7c047e8b97459d03461e39be113385 Mon Sep 17 00:00:00 2001 From: Sthope <6695214+Sthopeless@users.noreply.github.com> Date: Thu, 14 Jan 2021 03:00:02 +0100 Subject: [PATCH] Update create_sshcontainer.sh --- create_sshcontainer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/create_sshcontainer.sh b/create_sshcontainer.sh index 835f132..f8a99e0 100644 --- a/create_sshcontainer.sh +++ b/create_sshcontainer.sh @@ -65,7 +65,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null # Download setup script -wget -qL https://github.com/Sthopeless/proxmox_portainer_lxc/raw/master/setup.sh +wget -qL https://github.com/Sthopeless/proxmox_portainer_lxc/raw/master/ssh_setup.sh # Detect modules and automatically load at boot load_module aufs @@ -164,8 +164,8 @@ pct unmount $CTID && unset MOUNT # Setup container msg "Starting LXC container..." pct start $CTID -pct push $CTID setup.sh /setup.sh -perms 755 -pct exec $CTID /setup.sh +pct push $CTID ssh_setup.sh /ssh_setup.sh -perms 755 +pct exec $CTID /ssh_setup.sh # Get network details and show completion message IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')