-
Notifications
You must be signed in to change notification settings - Fork 880
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,16 @@ | |
|
||
# Using the Pulumi Libvirt Provider to Deploy a VM on a KVM Server | ||
|
||
Deploys a KVM server in Azure and then deploys a small Linux VM on that KVM server. | ||
It uses the Pulumi Libvirt provider (https://www.pulumi.com/docs/reference/pkg/libvirt/) and nested virtualization that is supported by certain Azure instance types to accomplish this. | ||
Deploys a KVM server in Azure and then deploys a small Linux VM on that KVM server. | ||
It uses the Pulumi Libvirt provider (https://www.pulumi.com/registry/packages/libvirt/) and nested virtualization that is supported by certain Azure instance types to accomplish this. | ||
|
||
## Running the App | ||
|
||
1. The libvirt provider uses the libvirt module. Therefore, libvirt needs to be installed on the machine from which you are running pulumi. | ||
- Mac: `brew install libvirt` | ||
- Windows: See: https://libvirt.org/windows.html | ||
- Others: https://libvirt.org/downloads.html | ||
|
||
1. Create a new stack: | ||
|
||
``` | ||
|
@@ -54,8 +54,8 @@ It uses the Pulumi Libvirt provider (https://www.pulumi.com/docs/reference/pkg/l | |
Duration: 3m36s | ||
``` | ||
|
||
1. Check the VM on the KVM host: | ||
The stack generates an output that provides a string you can execute to run `virsh` remotely on the KVM host. | ||
1. Check the VM on the KVM host: | ||
The stack generates an output that provides a string you can execute to run `virsh` remotely on the KVM host. | ||
It will look something like | ||
``` | ||
echo virsh list | ssh -i libvirt-ex-dev-kvm_server.priv [email protected] | ||
|