I created a cloud-init vm . Set the dns and domain options to empty. I think it will use host settings.
I have set the host domain.
When I checked user-data, I didn't find fqdn
If there is no FQDN, this will cause the rhel linux unable to use cloud-init to set the hostname...
Hello,
I want to auto rollback when vm is stop. the same as PXE.
use hookscript:
my $cmd ="qm rollback $vmid snapshot";
......
.......
elsif($phase eq 'post-stop') {
print "$vmid stopped. Doing cleanup.\n";
system($cmd);
Both tasks will lock the vm at the same time,and post error
GUEST...
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.