From af4eb343fab258bee3993b031889e26eb221f203 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 3 Jun 2021 12:55:41 -0700 Subject: LIBVIRT:KVM-BOOTS-CHROOT-FOR: warning->error if same hostname Signed-off-by: Sean Whitton --- src/property/libvirt.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3