Skip to content

Instantly share code, notes, and snippets.

@euank
Created April 7, 2016 19:10
Show Gist options
  • Select an option

  • Save euank/143cbecbb3eae86be7d0948e1dc416c8 to your computer and use it in GitHub Desktop.

Select an option

Save euank/143cbecbb3eae86be7d0948e1dc416c8 to your computer and use it in GitHub Desktop.
euank@localhost ~ $ ./run-working.sh
image: using image from file /usr/lib/rkt/stage1-images/stage1-coreos.aci
networking: loading networks from /etc/rkt/net.d
networking: loading network default with type ptp
[73607.202240] glbc[5]: I0407 19:09:29.502648 5 main.go:150] Starting GLBC image: 0.5.2
[73607.202669] glbc[5]: F0407 19:09:29.502738 5 main.go:165] Failed to create client: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory.
euank@localhost ~ $ ./run.sh
image: using image from file /usr/lib/rkt/stage1-images/stage1-coreos.aci
networking: loading networks from /etc/rkt/net.d
networking: loading network default with type ptp
./run.sh: line 2: 6428 Killed sudo timeout -k 10s 10s ./rkt-v1.2.1/rkt run --pod-manifest manifest.json
euank@localhost ~ $ head -n99 ./run.sh ./run-working.sh
==> ./run.sh <==
#!/bin/bash
sudo timeout -k 10s 10s ./rkt-v1.2.1/rkt run --pod-manifest manifest.json
==> ./run-working.sh <==
#!/bin/bash
exec sudo timeout -k 10s 10s ./rkt-v1.2.1/rkt run --pod-manifest manifest.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment