I have installed cloud-init on kvm debian 11, and it's work. I did the same for Ubuntu 22.04 but it doesn't work
And:
But the user is not created. And IP didn't change:
How to understand what's wrong?
Actual container size 20 GB, but its backup 391 GB.
391 GB it is displayed in the web interface, but much less backup is used on the disk.
Proxmox VE:
Config lxc:
Proxmox BS:
Partition size for backups (used 93 GB). There is not 1 backup, but more:
What is the risk of using the soft option? Risking one backup or all?
NFS storage will be connected automatically, or you will need to remount manually? (option soft)
What is your advice for a backup storage?
Is it possible to execute a command in a container before backups?
Сan be using vzdump hook (--script)?
I want to execute 2 commands:
pct exec $3 -- psql -c \"CHECKPOINT;\""
pct exec $3 -- sync
before backups.
or for this vzdump hook (--script) is not suitable?
I do not understand PERL, but example vzdump-hook-script.pl in this language.
in the example
my $phase = shift;
my $vmid = shift;
How to get vmid in bash?
I'm trying to do this:
test.sh
#!/bin/bash
/mnt/.../test2.sh&
test2.sh
#!/bin/bash
sleep 10
echo "test" > /root/test.txt
104.conf
lxc.hook.pre-start: /mnt/.../test.sh
In this case, the container wait for 15 seconds, creates a file, and then starts.
104.conf
lxc.hook.pre-start...
What open source solutions are available to use "ZFS over iSCSI with Proxmox"?
Will FreeNas 9 or 10 work for "ZFS over iSCSI"?
What solutions are on Linux?
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.