Search results

  1. B

    Cloud-init can't generate fqdn when use host settings.

    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...
  2. B

    vm rollback in hookscript

    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...