diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-06-03 12:55:41 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-06-03 13:18:22 -0700 |
commit | af4eb343fab258bee3993b031889e26eb221f203 (patch) | |
tree | 4f5be32734cb00441b8173a36aee94c87fd40ad1 /src/property/libvirt.lisp | |
parent | 413c43607b48db350d11458da8018d7ae2c5a452 (diff) | |
download | consfigurator-af4eb343fab258bee3993b031889e26eb221f203.tar.gz |
LIBVIRT:KVM-BOOTS-CHROOT-FOR: warning->error if same hostname
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/libvirt.lisp')
-rw-r--r-- | src/property/libvirt.lisp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/property/libvirt.lisp b/src/property/libvirt.lisp index 534a875..7ba102b 100644 --- a/src/property/libvirt.lisp +++ b/src/property/libvirt.lisp @@ -233,8 +233,10 @@ Sample usage: There's repetition here, and you might like to use DEFPROPSPEC to establish your preferred VM networking setup and corresponding DEPLOYS propapp." (:desc #?"libvirt KVM VM for ${(get-hostname host*)} defined") + ;; Same hostname probably means that the VM HOST inherited the hypervisor + ;; HOST's hostname as one was not explicitly set; probably a mistake. (when (string= (get-hostname host*) (get-hostname)) - (warn "KVM VM has same hostname as hypervisor host; may cause issues.")) + (failed-change "KVM VM has same hostname as hypervisor host.")) (destructuring-bind (&key (vcpus 1) (memory 1024) autostart virt-options chroot-options always-deploys |