Hello everyone,
I'm excited to introduce a new tool I've developed: Proxmox-Enhanced-Configuration-Utility (PECU). This Bash script is designed to simplify the configuration and management of Proxmox VE environments. It offers an interactive menu for essential tasks, including:
Key Features...
"ZFS ate half of my RAM." - :eek:
That's pretty much how it started.
Diving deeper to this subject it appeared that it's very common problem. Here are few topics on this forum that I read to understand what's going with ram:
"Disable ZFS ARC or limiting it"
"zfs_arc_max does not seem to work"...
Hello,
Via api I don't think I can migrate VMs from one pve to another.
Some VMs have larger disks than the space I have for backup in the "local" storage.
Is there any other way to do this?
Hi guys! I wonder how to edit existing pbs job via cli? I can create tasks with pvesh but how abiut editing them?
For example I need to transfer couple of hundreds backup jobs from one datastore to another. How do I do that?
I've developed a script that streamlines the Proxmox installation process atop Debian 12 (Bookworm).
You can access to contribute or for more information in this Github Repository
Requirements
- Installed Debian 12 Bookworm
- Superuser permissions
su root
- Installed Git
apt install git
-...
In my attempts to write a shell script to create VMs quickly I've got oneliners working fine i.e.
# qm create 9999 --name vmtest --bios ovmf --efidisk0 data:0,efitype=4m,pre-enrolled-keys=1 --boot "order=net0;scsi0" --cores 1 --sockets 1 --cpu host --memory 2048 --net0 model=virtio,bridge=vmbr0...
hi all,
I'm quite new to Proxmox and I'm trying to set up a server and I'm trying to use this post install script bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)", but I can't get any bash script running; it just does nothing. I've read that it might...
Hi There,
I'm using Proxmox at home and gave a zfs as fs.
Files are served to other computers via samba.
Is there a way that we can have a section in the PVE where custom scripts are gathered and executed?
I have for example a script, that set the uid/gid correct when it comes from a LXC.
I...
Hi,
I successfully managed to migrate 200+ Linux VMs from oVirt/RHEV to Proxmox by utilizing oVirt and Proxmox APIs. I thought that i share the script since i guess that others are in the same situation as myself. Script does no changes to the oVirt environment more than initiate shutdown of...
Hi all
Haven't posted on here before but long time lurker.
Apologies if something similar to this has been posted in the forum previously.
As part of my learning with Proxmox I've wanted to learn how to build a script to create vm templates so that I can clone a template into a vm quickly...
Hi! I just wanted to share my script to monitor the backup status for the vms in Proxmox. It is written for use in CheckMK. You need to have the CheckMK linux client installed on proxmox. I should be easily adaptable for other systems like zabbix, nagios etc.
You need to put the script in...
I've put a bash script at /etc/init.d, changed in to executable but Proxmox doesn't execute it when it boots.
How can I add a command script to execute when Proxmox boots?
Hello there,
I've moved my SR-IOV start-up script out of a systemd unit and into a shell script invoked by a systemd unit after multi-user.target is reached. I did this as, at least on the 5.19 kernel, pve-guests.service seems to reset my NIC, or at least does something that causes SR-IOV to be...
I have been testing my script to copy fail2ban log files to Proxmox firewall and have managed to make it work... one time :)
cat /root/bin/banned2proxmox.sh
#!/bin/bash
#
# Sync fail2ban log files from client servers
rsync -a root@vm1.ic4.eu:/var/log/fail2ban.log /root/bin/fail2ban-vm1.log...
I would like to know if you know how I can shutdown ALL VM / CT in parallel ? (as in the GUI).
I have setup a script to shutdown VM, CT and then set the noout flag on the CEPH Cluster and finally shutdown the server.
Problem is that the script iterates with a for loop (which causes VM to be...
Hi,
I-m trying to copy the content of script through the Proxmox guest agent to a windows client in Powershell. However, when I have a curly brackets "{" in the script the file-write will fail with the error {}":"property is not defined in schema and the schema does not allow additional...
Hello dear Proxmox team,
Dear Proxmox Team, Our server is connected to a UPS. In the event of a power failure, the VMs on the server should shut down cleanly, as should the physical servers. Is there a template for a script that shuts down the individual VMs before the physical server...
If I execute this below lines on proxmox shell to wakeup my mac os it works flawlessly but in shell script (.sh) it doesn't work
qm monitor 503
system_wakeup
quit
I tried this code which is posted as solution in another question but it throws an error "2022/02/19 12:02:58 socat[6449] E...
Hi,
does anybody know how to insert proxy-variables through snippets so my CI-vm can reach out to get it's updates during first boot?
I'm looking for some documentation but cannot find it.
Thanks in advance.
Hi Proxmox Users,
First of all I would say you thanks to all of you for the support and the help you can provide to everybody :)
Today I work on Windows Server VM 904,
But I did mistake and my windows server restart in loop... because one script restart computer when it's starting... (local...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.