mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
root ssh access
This commit is contained in:
parent
ce55f1cf86
commit
5399541969
58 changed files with 574 additions and 1 deletions
|
@ -93,7 +93,9 @@ function default_settings() {
|
|||
MAC=""
|
||||
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
|
||||
VLAN=""
|
||||
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
|
||||
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
|
||||
SSH="no"
|
||||
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
|
||||
}
|
||||
function advanced_settings() {
|
||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist --cancel-button Exit-Script "Choose Type" 8 58 2 \
|
||||
|
@ -216,6 +218,7 @@ if [ "$CT_TYPE" == "1" ]; then
|
|||
fi
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
pushd $TEMP_DIR >/dev/null
|
||||
export SSH_ROOT=${SSH}
|
||||
export CTID=$CT_ID
|
||||
export PCT_OSTYPE=$var_os
|
||||
export PCT_OSVERSION=$var_version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue