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)
|
(bootloader grub-bootloader)
|
||||||
(target "/dev/sdX")))
|
(target "/dev/sdX")))
|
||||||
|
|
||||||
;; (file-systems (cons* (file-system
|
(file-systems (cons* (file-system
|
||||||
;; (device (file-system-label "my-root"))
|
(device (file-system-label "root"))
|
||||||
;; (mount-point "/")
|
(mount-point "/")
|
||||||
;; (type "ext4"))
|
(type "ext4"))
|
||||||
;; %container-file-systems))
|
%container-file-systems))
|
||||||
|
|
||||||
(file-systems %container-file-systems)
|
|
||||||
|
|
||||||
;; This is where user accounts are specified. The "root"
|
;; This is where user accounts are specified. The "root"
|
||||||
;; account is implicit, and is initially created with the
|
;; account is implicit, and is initially created with the
|
||||||
@ -40,10 +38,6 @@
|
|||||||
(packages (cons python-wrapper
|
(packages (cons python-wrapper
|
||||||
%base-packages))
|
%base-packages))
|
||||||
|
|
||||||
;; Add services to the baseline: a DHCP client and
|
;; Add services to the baseline: a DHCP client
|
||||||
;; an SSH server.
|
(services (append (list (service dhcp-client-service-type))
|
||||||
(services (append (list (service dhcp-client-service-type)
|
|
||||||
(service openssh-service-type
|
|
||||||
(openssh-configuration
|
|
||||||
(port-number 2222))))
|
|
||||||
%base-services)))
|
%base-services)))
|
||||||
|
Reference in New Issue
Block a user