ADD Proxmox - Debian-Cloud-Image VM Template
This commit is contained in:
0
enable-bluetooth.sh
Executable file → Normal file
0
enable-bluetooth.sh
Executable file → Normal file
0
install-alacritty-debian.sh
Executable file → Normal file
0
install-alacritty-debian.sh
Executable file → Normal file
0
install-alacritty-themes-debian.sh
Executable file → Normal file
0
install-alacritty-themes-debian.sh
Executable file → Normal file
0
install-discord.sh
Executable file → Normal file
0
install-discord.sh
Executable file → Normal file
0
install-flatpak-and-hub.sh
Executable file → Normal file
0
install-flatpak-and-hub.sh
Executable file → Normal file
0
install-hugo-extended-debian.sh
Executable file → Normal file
0
install-hugo-extended-debian.sh
Executable file → Normal file
0
install-steam-debian.sh
Executable file → Normal file
0
install-steam-debian.sh
Executable file → Normal file
0
install-steam-flatpak.sh
Executable file → Normal file
0
install-steam-flatpak.sh
Executable file → Normal file
0
install-steamlink-flatpak.sh
Executable file → Normal file
0
install-steamlink-flatpak.sh
Executable file → Normal file
0
install-teamviewer-debian.sh
Executable file → Normal file
0
install-teamviewer-debian.sh
Executable file → Normal file
0
install-vscode-debian.sh
Executable file → Normal file
0
install-vscode-debian.sh
Executable file → Normal file
0
install-zsh-shell-debian.sh
Executable file → Normal file
0
install-zsh-shell-debian.sh
Executable file → Normal file
26
proxmox_debian-cloud-image-vm-template.sh
Normal file
26
proxmox_debian-cloud-image-vm-template.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
#Proxmox - Debian-Cloud-Image VM Template
|
||||
URLIMG="https://cloud.debian.org/images/cloud/bookworm/latest"
|
||||
IMGFILENAME="debian-12-generic-amd64.qcow2"
|
||||
VMID="9000"
|
||||
VMNAME="Debian-12-Cloud-Image"
|
||||
VMUSER="user"
|
||||
VMPASSWORD="Code24"
|
||||
VMSTORAGE="local-lvm"
|
||||
|
||||
echo "Start of NEW VM Debian-Cloud-VM"
|
||||
echo "Check if the config file is there and if it is, then we delete the machine and the config files and prepare to make >if [ -f /etc/pve/qemu-server/$VMID.conf ]; then
|
||||
qm destroy $VMID
|
||||
else
|
||||
echo "The $VMID.conf file is not there, ok"
|
||||
fi
|
||||
echo "Switches to temporary folder"
|
||||
cd /tmp
|
||||
|
||||
if [ -f $IMGFILENAME ]; then
|
||||
rm $IMGFILENAME
|
||||
else
|
||||
echo "The file is not there, prepare to download"
|
||||
fi
|
||||
wget $URLIMG/$IMGFILENAME && qm create $VMID --name $VMNAME --agent 1 --ostype l26 --cores 4 --sockets 1 --cpu x86-64-v2-A>cd /root
|
||||
echo "THE NEW $VMNAME VM IS TEMPLATE DONE"
|
||||
0
test_scripts/test.sh
Executable file → Normal file
0
test_scripts/test.sh
Executable file → Normal file
Reference in New Issue
Block a user