From 334f14b6e2c8734745676f8667dcb5c18116a464 Mon Sep 17 00:00:00 2001 From: Paul Chechetin Date: Fri, 25 Sep 2015 15:36:24 +0300 Subject: [PATCH] Improve decoration --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c22d125..f7d760c 100644 --- a/README.md +++ b/README.md @@ -456,15 +456,19 @@ In short, VMs without a box can be created, halted and destroyed but all other f An example for a PXE booted VM with no disks whatsoever: +```ruby Vagrant.configure("2") do |config| config.vm.define :pxeclient do |pxeclient| pxeclient.vm.provider :libvirt do |domain| domain.boot 'network' end end +end +``` -And an example for a PXE booted VM with no box but a blank disk which will boot from this HD if the NICs fail to PXE boot:: +And an example for a PXE booted VM with no box but a blank disk which will boot from this HD if the NICs fail to PXE boot: +```ruby Vagrant.configure("2") do |config| config.vm.define :pxeclient do |pxeclient| pxeclient.vm.provider :libvirt do |domain| @@ -473,6 +477,8 @@ Vagrant.configure("2") do |config| domain.boot 'hd' end end +end +``` ## SSH Access To VM