Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 16 days 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-12T16:48:18.000Z (over 5 years ago)
- Last Synced: 2024-10-19T03:22:46.503Z (2 months ago)
- Topics: devops, linux, vagrant, vagrant-plugin
- Language: Ruby
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vagrant_reboot_linux
[![Gem](https://img.shields.io/gem/dtv/vagrant_reboot_linux.svg?style=for-the-badge)](https://rubygems.org/gems/vagrant_reboot_linux)
[![Vagrant](https://img.shields.io/badge/Vagrant-2.2.4-blue.svg?style=for-the-badge)](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```