mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update ubuntu_container.sh
This commit is contained in:
parent
75079891cf
commit
3e2e299c77
@ -73,7 +73,7 @@ function load_module() {
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
pushd $TEMP_DIR >/dev/null
|
||||
|
||||
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/ubuntu_setup.sh
|
||||
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/setup/ubuntu_setup.sh
|
||||
|
||||
load_module overlay
|
||||
|
||||
@ -155,4 +155,4 @@ pct push $CTID ubuntu_setup.sh /ubuntu_setup.sh -perms 755
|
||||
pct exec $CTID /ubuntu_setup.sh
|
||||
|
||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
|
||||
info "Successfully created a Ubuntu LXC Container to $CTID at IP Address ${IP}"
|
||||
info "Successfully created a Ubuntu LXC Container to $CTID at IP Address ${IP}"
|
||||
|
Loading…
Reference in New Issue
Block a user