katello-change-hostname's behavior before installing capsule
Description of problem:
In case you have the satellite-capsule package already installed but you didn't install the capsule yet with satellite-installer, using katello-change-hostname will fail even when trying to see help:
]# katello-change-hostname -h
/usr/bin/katello-change-hostname:40:in `readlink': No such file or directory - /etc/foreman-installer/scenarios.d/last_scenario.yaml (Errno::ENOENT)
Some message informing user about the problem would be nice here.
Version-Release number of selected component (if applicable):
#5 Updated by Evgeni Golov over 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset foreman-packaging|c57ecc7d0ab1234ea2598d377bb79666d640f1b6.