aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-10-21 10:31:21 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-10-23 12:47:28 -0700
commitba5386de4590a2c5dc6e8af1583ca2d0074b72a6 (patch)
treee55eafbb0c04ca32dbb9057840df4d532d849a98
parent826ec178b4be3c5da281433cb1d296287980fbd1 (diff)
downloadconsfigurator-ba5386de4590a2c5dc6e8af1583ca2d0074b72a6.tar.gz
LIBVIRT:KVM-BOOTS-CHROOT-FOR: ADDITIONAL-PROPERTIES usage example
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--src/property/libvirt.lisp7
1 files changed, 6 insertions, 1 deletions
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,