Skip to content

Instantly share code, notes, and snippets.

@cema-sp
Created November 23, 2015 07:37
Show Gist options
  • Save cema-sp/af7f269dddbcf5801a04 to your computer and use it in GitHub Desktop.
Save cema-sp/af7f269dddbcf5801a04 to your computer and use it in GitHub Desktop.
CoreOS configuration

Create config drive:

mkdir -p /tmp/new-drive/openstack/latest
cp user_data /tmp/new-drive/openstack/latest/user_data
mkisofs -R -V config-2 -o configdrive.iso /tmp/new-drive
rm -r /tmp/new-drive
#cloud-config
hostname: coreos
coreos:
units:
- name: etcd2.service
command: start
- name: fleet.service
command: start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment