Prevent CoreOS from using configdrive in ramdisk

Without this change, coreos-cloudinit will read and try to perform init
actions while we're provisioning. Under no circumstances (especially in
things like cleaning), do we want any contents of the disk to modify
ramdisk behavior.

Masking these units removes them at boot before it has an opportunity
to run.

Change-Id: Icd93954f0e4a76a7285d2914b9626b03fd457b9d
This commit is contained in:
Jay Faulkner 2015-02-06 10:28:26 -08:00
parent e8fab2b997
commit e92e41b937
1 changed files with 15 additions and 0 deletions

View File

@ -2,6 +2,21 @@
coreos:
units:
- name: user-configdrive.service
mask: true
- name: user-configvirtfs.service
mask: true
- name: user-configdrive.path
mask: true
- name: media-configdrive.mount
mask: true
- name: media-configvirtfs.mount
mask: true
- name: ironic-python-agent-embed-ssh-keys.service
command: start
content: |