examples/ignition: Add missing -xe to install scripts

This commit is contained in:
Dalton Hubble
2016-07-11 16:03:17 -07:00
parent 5fe0fc639b
commit 94877692e7
4 changed files with 7 additions and 4 deletions

View File

@@ -25,4 +25,4 @@ deploy:
go: '1.6.2'
condition: "$TRAVIS_PULL_REQUEST = false"
notifications:
email: false
email: false

View File

@@ -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

View File

@@ -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}}

View File

@@ -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}}