This simple script prepares a config-drive containing user customizations (cloud-config
) for CoreOS deployments.
Reference: https://coreos.com/os/docs/latest/config-drive.html
cp user_data.example user_data
- Edit user_data to suit your needs (See https://coreos.com/os/docs/latest/cloud-config.html)
chmod +x configdrive_creator.sh
./configdrive_creator.sh
(it will createconfigdrive.iso
in the current directory)- Mount
configdrive.iso
as a drive for CoreOS
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request