Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

```