Remove unused storage section ala PXE-only Matchbox templating
This commit is contained in:
parent
fc22f04dd6
commit
41e632280f
|
@ -107,22 +107,6 @@ systemd:
|
||||||
ExecStart=/opt/bootkube/bootkube-start
|
ExecStart=/opt/bootkube/bootkube-start
|
||||||
ExecStartPost=/bin/touch /opt/bootkube/init_bootkube.done
|
ExecStartPost=/bin/touch /opt/bootkube/init_bootkube.done
|
||||||
storage:
|
storage:
|
||||||
{{ if index . "pxe" }}
|
|
||||||
disks:
|
|
||||||
- device: /dev/sda
|
|
||||||
wipe_table: true
|
|
||||||
partitions:
|
|
||||||
- label: ROOT
|
|
||||||
filesystems:
|
|
||||||
- name: root
|
|
||||||
mount:
|
|
||||||
device: "/dev/sda1"
|
|
||||||
format: "ext4"
|
|
||||||
create:
|
|
||||||
force: true
|
|
||||||
options:
|
|
||||||
- "-LROOT"
|
|
||||||
{{end}}
|
|
||||||
files:
|
files:
|
||||||
- path: /etc/kubernetes/kubelet.env
|
- path: /etc/kubernetes/kubelet.env
|
||||||
filesystem: root
|
filesystem: root
|
||||||
|
|
|
@ -73,22 +73,6 @@ systemd:
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
{{ if index . "pxe" }}
|
|
||||||
disks:
|
|
||||||
- device: /dev/sda
|
|
||||||
wipe_table: true
|
|
||||||
partitions:
|
|
||||||
- label: ROOT
|
|
||||||
filesystems:
|
|
||||||
- name: root
|
|
||||||
mount:
|
|
||||||
device: "/dev/sda1"
|
|
||||||
format: "ext4"
|
|
||||||
create:
|
|
||||||
force: true
|
|
||||||
options:
|
|
||||||
- "-LROOT"
|
|
||||||
{{end}}
|
|
||||||
files:
|
files:
|
||||||
- path: /etc/kubernetes/kubelet.env
|
- path: /etc/kubernetes/kubelet.env
|
||||||
filesystem: root
|
filesystem: root
|
||||||
|
|
Loading…
Reference in New Issue