-
-
Save jdoss/7783fae724c9b737c2874e9b50d9185b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variant: fcos | |
version: 1.4.0 | |
storage: | |
files: | |
- path: /etc/coreos/installer.d/custom.yaml | |
contents: | |
inline: | | |
dest-device: {{ install_drive }} | |
ignition-file: /etc/install.ign | |
mode: 0644 | |
- path: /etc/install.ign | |
contents: | |
inline: | | |
{{ install_ignition }} | |
mode: 0644 | |
systemd: | |
units: | |
- name: coreos-installer.service | |
enabled: true | |
contents: | | |
[Unit] | |
Description=Run CoreOS Installer | |
Requires=coreos-installer-pre.target | |
After=coreos-installer-pre.target | |
OnFailure=emergency.target | |
OnFailureJobMode=replace-irreversibly | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/coreos-installer install --offline -i /etc/install.ign {{ install_drive }} | |
ExecStart=/usr/bin/systemctl --no-block reboot | |
StandardOutput=kmsg+console | |
StandardError=kmsg+console | |
[Install] | |
RequiredBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment