README.md: Update instructions for usage with Vagrant
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
eae33a26d7
commit
afa15c9671
17
README.md
17
README.md
@ -32,25 +32,12 @@ This boots from a network Ubuntu mirror, then uses a preseed to automate the OS
|
|||||||
### Testing in Vagrant
|
### Testing in Vagrant
|
||||||
Not as simple as on GNU/Linux with KVM, but still easy:
|
Not as simple as on GNU/Linux with KVM, but still easy:
|
||||||
|
|
||||||
```console
|
|
||||||
vagrant init ubuntu/trusty64
|
|
||||||
```
|
|
||||||
|
|
||||||
Then uncomment the following line in your `Vagrantfile`:
|
|
||||||
|
|
||||||
```ruby
|
|
||||||
# Create a public network, which generally matched to bridged network.
|
|
||||||
# Bridged networks make the machine appear as another physical device on
|
|
||||||
# your network.
|
|
||||||
config.vm.network "public_network"
|
|
||||||
```
|
|
||||||
|
|
||||||
And finally, bring the machine up:
|
|
||||||
|
|
||||||
```console
|
```console
|
||||||
vagrant up
|
vagrant up
|
||||||
```
|
```
|
||||||
|
|
||||||
|
A new VirtualBox VM will come up with the IP 192.168.33.10 (according to the included `Vagrantfile`).
|
||||||
|
|
||||||
### License
|
### License
|
||||||
Copyright (C) 2014 - 2015 Alan Orth
|
Copyright (C) 2014 - 2015 Alan Orth
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user