Is it possible to restart a machine when provisioning a machine using Vagrant and pickup where the script left off?

后端 未结 4 2283
北荒
北荒 2021-02-12 11:47

I was reading a tutorial in bash where they said to restart the machine, there was no option to restart a service directly, it was a matter of restarting the machine, and then t

4条回答
  •  轮回少年
    2021-02-12 12:25

    Vagrant has a reboot option for provisioning, however, the reboot guest capabilities is currently not support for Linux.

    You can check my plugin out here, https://github.com/secret104278/vagrant_reboot_linux/tree/master , I've implement the function for Linux to reboot.

提交回复
热议问题