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