From ba5386de4590a2c5dc6e8af1583ca2d0074b72a6 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 21 Oct 2021 10:31:21 -0700 Subject: LIBVIRT:KVM-BOOTS-CHROOT-FOR: ADDITIONAL-PROPERTIES usage example Signed-off-by: Sean Whitton --- src/property/libvirt.lisp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/property/libvirt.lisp b/src/property/libvirt.lisp index 9df1dd3..330bade 100644 --- a/src/property/libvirt.lisp +++ b/src/property/libvirt.lisp @@ -217,7 +217,12 @@ Sample usage: (file:contains-conf-tab \"/etc/hosts\" \"192.168.122.31\" \"subbox.laptop.example.com\") (libvirt:kvm-boots-chroot-for. (:vcpus 2 :memory 2048) - subbox.laptop.example.com) + subbox.laptop.example.com + ;; Apply TIMEZONE:CONFIGURED-FROM-PARENT here rather than in the + ;; DEFHOST above because it can be applied only during a subdeployment + ;; of laptop.example.com -- when we deploy subbox directly, there is + ;; no parent host. + (timezone:configured-from-parent)) (libvirt:when-started subbox.laptop.example.com ;; Here we elide most of the configuration necessary to ensure that ;; root can SSH into the VM. You can deploy a passwordless SSH key, -- cgit v1.2.3