summaryrefslogtreecommitdiff
path: root/tests/unittests/test_sshutil.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-05-15 10:53:10 -0400
committerScott Moser <smoser@ubuntu.com>2015-05-15 10:53:10 -0400
commit02da8491a11caf783e952a964da5bc90a618d46f (patch)
treebebe4edd8132fccf27a49d2d03c87a48d61b14f5 /tests/unittests/test_sshutil.py
parent74023961b70a178039ecf10f68745f6927113978 (diff)
parent57c3365ec8310ff09cafa4c0f3fbdfb48c787e18 (diff)
downloadvyos-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