Add files via upload

This commit is contained in:
tteckster 2021-11-24 15:41:25 -05:00 committed by GitHub
parent 3a83a7dc21
commit b8e8b46eec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
while true; do while true; do
read -p "To allow device passthrough to the predefined LXC container. Proceed(y/n)?" yn read -p "Allow device passthrough to the predefined LXC container. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;
[Nn]* ) exit;; [Nn]* ) exit;;
@ -75,3 +75,7 @@ cat <<EOF >> $CTID_CONFIG_PATH
lxc.autodev: 1 lxc.autodev: 1
lxc.hook.autodev: bash -c '$HOOK_SCRIPT' lxc.hook.autodev: bash -c '$HOOK_SCRIPT'
EOF EOF
# In the Proxmox web shell run (replace 106 with your LXC ID)
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/autodev.sh)" -s 106
# Reboot the LXC to apply the changes