-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporate readme instructions into setuphost target #2483
Comments
@jdsn @bmwiedemann any feedback on this? |
already implemented:
https://github.com/SUSE-Cloud/automation/blob/master/scripts/lib/mkcloud-driver-libvirt.sh#L144 Both services are only started - not insserv'ed, so this could be added easily.
That is only a workaround for the rare cases. The size of the sparse file depends on what you want to deploy and where you put it and how much space you want to reserve for it. Thats impossible to know. So rather create the sparse file manually, because you know your requirements. Please note:
Where is it not idempotent?
We extracted it intentionally from these expanding steps. Because it is only needed to run once per host. Rerunning it would be a waste of time. So, my take away is, to add the "insserv" |
docs/mkcloud.md
has a number of one-time setup tasks that really make sense to incorporate into thesetuphost
target. This includes:losetup
, if necessarysetuphost
should be idempotent, of course, so that it can be re-run without harm.As a further exercise, it would be nice if
setuphost
were included in the default list of those targets that expand to lots of steps. e.g.all
,plain
, etc.The text was updated successfully, but these errors were encountered: