Initial commit

This commit is contained in:
Sthope 2021-05-01 01:46:44 +02:00
parent 440b5cee8b
commit 2309edbfd3
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 whiskerz007
Copyright (c) 2021 sthope
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -138,7 +138,7 @@ else
mkfs.ext4 $(pvesm path $ROOTFS) &>/dev/null
fi
ARCH=$(dpkg --print-architecture)
HOSTNAME=portainer
HOSTNAME=Portainer
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 \
@ -173,7 +173,6 @@ info "Successfully created LXC to $CTID."
msg "
Enjoy!
Portainer: http://${IP}:9000
Portainer: http://${IP}:9000
"