mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
examples/ignition: Add missing -xe to install scripts
This commit is contained in:
@@ -25,4 +25,4 @@ deploy:
|
||||
go: '1.6.2'
|
||||
condition: "$TRAVIS_PULL_REQUEST = false"
|
||||
notifications:
|
||||
email: false
|
||||
email: false
|
||||
|
||||
@@ -51,3 +51,4 @@ The [examples](examples) show how to network boot and provision higher-order Cor
|
||||
* [GRUB Netboot](Documentation/grub.md) CoreOS
|
||||
* iPXE Boot CoreOS with a root fs
|
||||
* iPXE Boot CoreOS
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ storage:
|
||||
mode: 0500
|
||||
contents:
|
||||
inline: |
|
||||
#!/bin/bash -e
|
||||
#!/bin/bash -ex
|
||||
curl "{{.ignition_endpoint}}?{{.query}}&os=installed" -o ignition.json
|
||||
coreos-install -d /dev/sda -C {{.coreos_channel}} -V {{.coreos_version}} -i ignition.json {{if index . "baseurl"}}-b {{.baseurl}}{{end}}
|
||||
udevadm settle
|
||||
@@ -33,4 +33,5 @@ passwd:
|
||||
{{ range $element := .ssh_authorized_keys }}
|
||||
- {{$element}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ storage:
|
||||
mode: 0500
|
||||
contents:
|
||||
inline: |
|
||||
#!/bin/bash -e
|
||||
#!/bin/bash -ex
|
||||
curl "{{.ignition_endpoint}}?{{.query}}&os=installed" -o ignition.json
|
||||
coreos-install -d /dev/sda -C {{.coreos_channel}} -V {{.coreos_version}} -i ignition.json {{if index . "baseurl"}}-b {{.baseurl}}{{end}}
|
||||
udevadm settle
|
||||
@@ -34,3 +34,4 @@ passwd:
|
||||
- {{$element}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user