Skip to content

Commit

Permalink
Merge pull request deis#1445 from deis/fix/userdata/motd
Browse files Browse the repository at this point in the history
fix(userdata template): put motd directly in the OS
  • Loading branch information
Xe committed Jul 28, 2014
2 parents 027dec9 + cae7a8f commit d651efb
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions contrib/coreos/user-data
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,6 @@ coreos:
Type=oneshot
ExecStart=/usr/bin/systemctl stop update-engine.service
ExecStartPost=/usr/bin/systemctl mask update-engine.service
- name: write-deis-motd.service
command: start
content: |
[Unit]
Description=write the Deis motd
ConditionFileNotEmpty=/run/deis/motd

[Service]
Type=oneshot
ExecStartPre=/usr/bin/rm /etc/motd
ExecStart=/usr/bin/ln -s /run/deis/motd /etc/motd
- name: link-deis-bashrc.service
command: start
content: |
Expand All @@ -82,7 +71,7 @@ write_files:
- path: /etc/deis-release
content: |
DEIS_RELEASE=latest
- path: /run/deis/motd
- path: /etc/motd
content: " \e[31m* * \e[34m* \e[32m***** \e[39mddddd eeeeeee iiiiiii ssss\n\e[31m* * \e[34m* * \e[32m* * \e[39md d e e i s s\n \e[31m* * \e[34m***** \e[32m***** \e[39md d e i s\n\e[32m***** \e[31m* * \e[34m* \e[39md d e i s\n\e[32m* * \e[31m* * \e[34m* * \e[39md d eee i sss\n\e[32m***** \e[31m* * \e[34m***** \e[39md d e i s\n \e[34m* \e[32m***** \e[31m* * \e[39md d e i s\n \e[34m* * \e[32m* * \e[31m* * \e[39md d e e i s s\n\e[34m***** \e[32m***** \e[31m* * \e[39mddddd eeeeeee iiiiiii ssss\n\n\e[39mWelcome to Deis\t\t\tPowered by Core\e[38;5;45mO\e[38;5;206mS\e[39m\n"
- path: /run/deis/.bashrc
owner: core
Expand Down

0 comments on commit d651efb

Please sign in to comment.