r/netboot/basementhud: Configure NBD export
The *netboot/basementhud* Ansible role configures two network block devices for the basement HUD machine: * The immutable root filesystem * An ephemeral swap devicebtop
parent
4622240c6c
commit
9c364b1f06
2
pxe.yml
2
pxe.yml
|
@ -4,3 +4,5 @@
|
||||||
tags: pxe
|
tags: pxe
|
||||||
- role: netboot/jenkins-agent
|
- role: netboot/jenkins-agent
|
||||||
tags: netboot/jenkins-agent
|
tags: netboot/jenkins-agent
|
||||||
|
- role: netboot/basementhud
|
||||||
|
tags: netboot/basementhud
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
- name: ensure basementhud nbd export is configured
|
||||||
|
template:
|
||||||
|
src: basementhud.ini.j2
|
||||||
|
dest: /etc/nbd-server/config.d/basementhud.conf
|
||||||
|
mode: u=rw,go=r
|
||||||
|
tags:
|
||||||
|
- nbd-config
|
|
@ -0,0 +1,8 @@
|
||||||
|
[basementhud]
|
||||||
|
exportname = /var/lib/nbd/basementhud.squashfs
|
||||||
|
readonly = true
|
||||||
|
|
||||||
|
[basementhud-swap]
|
||||||
|
exportname = /var/lib/nbd/
|
||||||
|
temporary = true
|
||||||
|
filesize = 8589934592
|
Loading…
Reference in New Issue