Quantcast
Channel: Active questions tagged vagrant - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 64

How can I provision using Vagrant if I need a system restart in the middle of the provisioning process?

$
0
0

Good day to you all,

How can I approach the following case:

System: CentOS Stream/7-8; RHEL; Fedora

Vagrant up (init a machine) with shell script provisioning as a file.

Case: I go for a full update, the kernel has to/will be updated as well, but everything else from the provisioning script/process that fallows needs for the new/latest kernel to be loaded (example: systemctl reboot -i)

Question: How do I approach the continuation of the provisioning after a system restart as part of the automated process?

NOTE: Thank you in advance, I don't think this question is asked before.

P.S: If a solution with other tools like Ansible,etc... allows for this I will be happy to hear, but my current focus is on Vagrant/shell automated provisioning.


Viewing all articles
Browse latest Browse all 64

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>