https://github.com/secret104278/vagrant_reboot_linux
Vagrant Plugin that add Reboot guest capability to Linux
https://github.com/secret104278/vagrant_reboot_linux
devops linux vagrant vagrant-plugin
Last synced: 9 months ago
JSON representation
Vagrant Plugin that add Reboot guest capability to Linux
- Host: GitHub
- URL: https://github.com/secret104278/vagrant_reboot_linux
- Owner: secret104278
- Created: 2019-05-12T15:30:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-12T16:48:18.000Z (about 7 years ago)
- Last Synced: 2025-08-15T04:20:31.773Z (10 months ago)
- Topics: devops, linux, vagrant, vagrant-plugin
- Language: Ruby
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vagrant_reboot_linux
[](https://rubygems.org/gems/vagrant_reboot_linux)
[](https://www.vagrantup.com/)
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
```bash
vagrant plugin install vagrant_reboot_linux
```
## Usage
See [Example Vagranfile](./example/Vagrantfile)
```ruby
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
```