mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-26 02:04:58 +01:00
Update ubuntu.sh
This commit is contained in:
parent
a6b58b0d39
commit
0f4df56670
@ -122,6 +122,12 @@ function cleanup() {
|
|||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
rm -rf $TEMP_DIR
|
rm -rf $TEMP_DIR
|
||||||
}
|
}
|
||||||
|
if [ "$IM" == "1" ]; then
|
||||||
|
FEATURES="nesting=1,keyctl=1,mknod=1"
|
||||||
|
else
|
||||||
|
FEATURES="nesting=1"
|
||||||
|
fi
|
||||||
|
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
pushd $TEMP_DIR >/dev/null
|
pushd $TEMP_DIR >/dev/null
|
||||||
|
|
||||||
@ -130,7 +136,7 @@ export PCT_OSTYPE=ubuntu
|
|||||||
export PCT_OSVERSION=21.10
|
export PCT_OSVERSION=21.10
|
||||||
export PCT_DISK_SIZE=2
|
export PCT_DISK_SIZE=2
|
||||||
export PCT_OPTIONS="
|
export PCT_OPTIONS="
|
||||||
-features nesting=1,keyctl=1,mknod=1
|
-features $FEATURES
|
||||||
-hostname ubuntu
|
-hostname ubuntu
|
||||||
-net0 name=eth0,bridge=vmbr0,ip=dhcp
|
-net0 name=eth0,bridge=vmbr0,ip=dhcp
|
||||||
-onboot 1
|
-onboot 1
|
||||||
|
Loading…
Reference in New Issue
Block a user