diff options
-rw-r--r-- | vps-builder.scm | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/vps-builder.scm b/vps-builder.scm index 5a6dcdb..df63fec 100644 --- a/vps-builder.scm +++ b/vps-builder.scm @@ -219,12 +219,10 @@ "assets/boot/extlinux.conf" read-string)) (conf (string-translate* template `(("{KERNEL}" . ,kernel) - ("{RAMDISK}" . ,ramdisk)))) - (tgt (make-pathname `(,root-dir "boot" "extlinux") - "extlinux.conf"))) - (install-directory root-dir "/boot/extlinux" "root" "root" #o755) - (with-output-to-file tgt (lambda () (write-string conf))) - (run* (extlinux --install ,(make-pathname root-dir "boot"))))) + ("{RAMDISK}" . ,ramdisk))))) + (with-output-to-file (make-pathname root-dir "extlinux.conf") + (lambda () (write-string conf))) + (run* (extlinux --install ,root-dir)))) (define (setup-firewall root-dir) (install-packages root-dir "ferm" "sshguard") |