Initial commit
This commit is contained in:
parent
33fc5a2ef0
commit
4ae800aa36
@ -1,5 +1,7 @@
|
||||
# Proxmox Debian LXC
|
||||
|
||||
```
|
||||
clear; bash -c "$(wget -qLO - https://github.com/Sthopeless/proxmox_debian_lxc/raw/main/create_container.sh)"
|
||||
clear; bash -c "$(wget -qLO - https://git.sthopeless.com/sthope/proxmox_debian_lxc/raw/branch/main/create_container.sh)"
|
||||
|
||||
```
|
||||
|
||||
|
@ -65,7 +65,7 @@ TEMP_DIR=$(mktemp -d)
|
||||
pushd $TEMP_DIR >/dev/null
|
||||
|
||||
# Download setup script
|
||||
wget -qL https://github.com/Sthopeless/proxmox_debian_lxc/raw/main/setup.sh
|
||||
wget -qL https://git.sthopeless.com/sthope/proxmox_debian_lxc/raw/branch/main/setup.sh
|
||||
|
||||
# Detect modules and automatically load at boot
|
||||
load_module aufs
|
||||
@ -138,7 +138,7 @@ else
|
||||
mkfs.ext4 $(pvesm path $ROOTFS) &>/dev/null
|
||||
fi
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
HOSTNAME=template
|
||||
HOSTNAME=Debian
|
||||
TEMPLATE_STRING="local:vztmpl/${TEMPLATE}"
|
||||
pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \
|
||||
-hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 \
|
||||
@ -171,6 +171,6 @@ info "Successfully created LXC to $CTID."
|
||||
msg "
|
||||
|
||||
Enjoy!
|
||||
http://${IP}
|
||||
${IP}
|
||||
|
||||
"
|
||||
|
Loading…
x
Reference in New Issue
Block a user