mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "79b29951d7fd2e23db42b31b6a90cc5750454bd0" and "b816b9fc2df9186a0ed2ae7065755ea067571761" have entirely different histories.
79b29951d7
...
b816b9fc2d
|
@ -71,6 +71,10 @@ setting_up_container() {
|
||||||
echo -e " 🖧 Check Network Settings"
|
echo -e " 🖧 Check Network Settings"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
cat <<EOF >/etc/apk/repositories
|
||||||
|
https://dl-cdn.alpinelinux.org/alpine/latest-stable/main
|
||||||
|
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
|
||||||
|
EOF
|
||||||
msg_ok "Set up Container OS"
|
msg_ok "Set up Container OS"
|
||||||
msg_ok "Network Connected: ${BL}$(ip addr show | grep 'inet ' | awk '{print $2}' | cut -d'/' -f1 | tail -n1)${CL}"
|
msg_ok "Network Connected: ${BL}$(ip addr show | grep 'inet ' | awk '{print $2}' | cut -d'/' -f1 | tail -n1)${CL}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -572,11 +572,7 @@ EOF
|
||||||
pct start "$CTID"
|
pct start "$CTID"
|
||||||
msg_ok "Started LXC Container"
|
msg_ok "Started LXC Container"
|
||||||
if [ "$var_os" == "alpine" ]; then
|
if [ "$var_os" == "alpine" ]; then
|
||||||
sleep 3
|
sleep 2
|
||||||
pct exec "$CTID" -- /bin/sh -c 'cat <<EOF >/etc/apk/repositories
|
|
||||||
http://dl-cdn.alpinelinux.org/alpine/latest-stable/main
|
|
||||||
http://dl-cdn.alpinelinux.org/alpine/latest-stable/community
|
|
||||||
EOF'
|
|
||||||
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
|
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
|
||||||
fi
|
fi
|
||||||
lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit
|
lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit
|
||||||
|
|
Loading…
Reference in New Issue