Set hostname on GCP

Split GCP startup script in two:

 + One started before Docker, to set the hostname
 + Another to run the startup script

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot
2016-12-28 16:09:56 +01:00
parent 3346f745a3
commit 1bf637ca5d
4 changed files with 76 additions and 30 deletions

View File

@@ -57,7 +57,8 @@ RUN \
rc-update add containerd default && \
rc-update add aws default && \
rc-update add azure default && \
rc-update add gcp default && \
rc-update add gcp-hostname default && \
rc-update add gcp-startup default && \
true
CMD ["/mkinitrd.sh"]