Example guix system docker-image
Signed-off-by: Collin J. Doering <collin@rekahsoft.ca>
This commit is contained in:
parent
3b89e0714e
commit
3d5e6355a0
20
guix-oci.scm
20
guix-oci.scm
@ -17,13 +17,11 @@
|
||||
(bootloader grub-bootloader)
|
||||
(target "/dev/sdX")))
|
||||
|
||||
;; (file-systems (cons* (file-system
|
||||
;; (device (file-system-label "my-root"))
|
||||
;; (mount-point "/")
|
||||
;; (type "ext4"))
|
||||
;; %container-file-systems))
|
||||
|
||||
(file-systems %container-file-systems)
|
||||
(file-systems (cons* (file-system
|
||||
(device (file-system-label "root"))
|
||||
(mount-point "/")
|
||||
(type "ext4"))
|
||||
%container-file-systems))
|
||||
|
||||
;; This is where user accounts are specified. The "root"
|
||||
;; account is implicit, and is initially created with the
|
||||
@ -40,10 +38,6 @@
|
||||
(packages (cons python-wrapper
|
||||
%base-packages))
|
||||
|
||||
;; Add services to the baseline: a DHCP client and
|
||||
;; an SSH server.
|
||||
(services (append (list (service dhcp-client-service-type)
|
||||
(service openssh-service-type
|
||||
(openssh-configuration
|
||||
(port-number 2222))))
|
||||
;; Add services to the baseline: a DHCP client
|
||||
(services (append (list (service dhcp-client-service-type))
|
||||
%base-services)))
|
||||
|
Reference in New Issue
Block a user