diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-05-15 10:53:10 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-05-15 10:53:10 -0400 |
commit | 02da8491a11caf783e952a964da5bc90a618d46f (patch) | |
tree | bebe4edd8132fccf27a49d2d03c87a48d61b14f5 /tests/unittests/test_sshutil.py | |
parent | 74023961b70a178039ecf10f68745f6927113978 (diff) | |
parent | 57c3365ec8310ff09cafa4c0f3fbdfb48c787e18 (diff) | |
download | vyos-cloud-init-02da8491a11caf783e952a964da5bc90a618d46f.tar.gz vyos-cloud-init-02da8491a11caf783e952a964da5bc90a618d46f.zip |
detect that CentOS 7 uses systemd, write previous-hostname in that case.
Also, on RHEL-type systems using systemd,
/var/lib/cloud/data/previous-hostname would never get created (because
rather then write to files, it was executing hostnamectl)
Diffstat (limited to 'tests/unittests/test_sshutil.py')
0 files changed, 0 insertions, 0 deletions