Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 888 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 888 Bytes

vagrant_reboot_linux

Gem Vagrant

Vagrant Plugin that implement Reboot guest capability for Linux. https://www.vagrantup.com/docs/provisioning/shell.html#reboot

Vagrant version

This plugin is developed under vagrant 2.2.4

Installation

vagrant plugin install vagrant_reboot_linux

Usage

See Example Vagranfile

Vagrant.configure('2') do |config|
  config.vm.box = 'ubuntu/bionic64'

  config.vm.provision 'shell',
                      reboot: true,
                      inline: 'echo BRFORE_REBOOT'

  config.vm.provision 'shell',
                      inline: 'echo AFTER_REBOOT'
end