aboutsummaryrefslogtreecommitdiff
path: root/src/property/chroot.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-04 16:29:39 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-04 16:29:39 -0700
commit160b76c2bef0541ebcae3363ceebb0666e227451 (patch)
treedde309dc5666138500a4bbf49d8724158b31a2af /src/property/chroot.lisp
parentcebded4616c69a59767f2f19a071dfda0357d513 (diff)
downloadconsfigurator-160b76c2bef0541ebcae3363ceebb0666e227451.tar.gz
start figuring out representation of host operating systems
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/chroot.lisp')
-rw-r--r--src/property/chroot.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/property/chroot.lisp b/src/property/chroot.lisp
index 41de6a8..9d0acd1 100644
--- a/src/property/chroot.lisp
+++ b/src/property/chroot.lisp
@@ -18,9 +18,9 @@
(in-package :consfigurator.property.chroot)
(named-readtables:in-readtable :interpol-syntax)
-(defgeneric os-bootstrap (host root &key)
+(defgeneric os-bootstrap (os root &key)
(:documentation
- "Bootstrap HOST's OS into ROOT, e.g. with debootstrap(1)."))
+ "Bootstrap OS into ROOT, e.g. with debootstrap(1)."))
(defproplist os-bootstrapped :posix
(options root properties &aux (host (make-host :props properties)))
@@ -33,4 +33,4 @@
(declare (ignore options host))
(test "-d" root))
(:apply
- (apply #'os-bootstrap host root options)))
+ (apply #'os-bootstrap (car (getf (hostattrs host) :os)) root options)))