Page MenuHomeDevCentral

Get rid of Scaleway MOTD
ClosedPublic

Authored by dereckson on Jun 9 2016, 01:29.
Tags
None
Referenced Files
F3746437: D399.id959.diff
Fri, Nov 15, 21:17
F3745136: D399.id958.diff
Fri, Nov 15, 12:27
F3744632: D399.diff
Fri, Nov 15, 07:51
Unknown Object (File)
Fri, Nov 15, 06:25
Unknown Object (File)
Fri, Nov 15, 05:58
Unknown Object (File)
Fri, Nov 15, 02:45
Unknown Object (File)
Fri, Nov 15, 02:42
Unknown Object (File)
Fri, Nov 15, 02:32
Subscribers
None

Details

Summary

Scaleway customizes MOTD in their Debian image.

That conflicts with our MOTD.

Fixes T858.

Test Plan

salt eglide state.apply roles/shellserver/motd

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to Get rid of Scaleway MOTD.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: Sandlayth.

Test run looks good to me.

Ysul
$ salt eglide state.apply roles/shellserver/motd/
eglide:
----------
          ID: motd
    Function: file.managed
        Name: /etc/motd.tail
      Result: True
     Comment: File /etc/motd.tail is in the correct state
     Started: 01:27:42.451152
    Duration: 1265.868 ms
     Changes:   
----------
          ID: get_rid_of_scaleway_motd
    Function: file.absent
        Name: /etc/update-motd.d/50-scw
      Result: True
     Comment: File /etc/update-motd.d/50-scw is not present
     Started: 01:27:43.718374
    Duration: 4.757 ms
     Changes:   

Summary for eglide
------------
Succeeded: 2
Failed:    0
------------
Total states run:     2

$ ssh root@eglide touch /etc/update-motd.d/50-scw
$ salt eglide state.apply roles/shellserver/motd/
eglide:
----------
          ID: motd
    Function: file.managed
        Name: /etc/motd.tail
      Result: True
     Comment: File /etc/motd.tail is in the correct state
     Started: 01:27:57.175518
    Duration: 1254.382 ms
     Changes:   
----------
          ID: get_rid_of_scaleway_motd
    Function: file.absent
        Name: /etc/update-motd.d/50-scw
      Result: True
     Comment: Removed file /etc/update-motd.d/50-scw
     Started: 01:27:58.431156
    Duration: 5.144 ms
     Changes:   
              ----------
              removed:
                  /etc/update-motd.d/50-scw

Summary for eglide
------------
Succeeded: 2 (changed=1)
Failed:    0
------------
Total states run:     2
Sandlayth edited edge metadata.
This revision is now accepted and ready to land.Jun 9 2016, 08:41
This revision was automatically updated to reflect the committed changes.