Remove unused storage section ala PXE-only Matchbox templating

This commit is contained in:
Dalton Hubble 2017-10-16 00:42:20 -07:00
parent fc22f04dd6
commit 41e632280f
2 changed files with 0 additions and 32 deletions

View File

@ -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

View File

@ -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