added some explanations
This commit is contained in:
24
README.md
24
README.md
@@ -4,6 +4,26 @@ This repository contains Terraform recipes to deploy various modern virtual mach
|
|||||||
|
|
||||||
By modern, it is meant virtual machines that leverage the use of modern desktop-oriented technologies, like UEFI firmware and recent virtual motherboard chipset (i.e. Phyllome OS itself), by staying as close as possible as domain definitions maintained [here](https://git.phyllo.me/roots/xml-definition-for-domains).
|
By modern, it is meant virtual machines that leverage the use of modern desktop-oriented technologies, like UEFI firmware and recent virtual motherboard chipset (i.e. Phyllome OS itself), by staying as close as possible as domain definitions maintained [here](https://git.phyllo.me/roots/xml-definition-for-domains).
|
||||||
|
|
||||||
|
## Organization
|
||||||
|
|
||||||
|
The folder *multiple* contains two subfolders, one with shared modules and the other with the various target deployment environments.
|
||||||
|
|
||||||
|
The idea is to reuse modules across multiple virtual machines and operating systems.
|
||||||
|
|
||||||
|
```
|
||||||
|
./multiple:
|
||||||
|
environments shared_modules
|
||||||
|
|
||||||
|
./multiple/environments:
|
||||||
|
cloud_init.yaml ubuntu-cloud-server-2404-bios
|
||||||
|
|
||||||
|
./multiple/environments/ubuntu-cloud-server-2404-bios:
|
||||||
|
ubuntu-cloud-server-2404-bios.tf
|
||||||
|
|
||||||
|
./multiple/shared_modules:
|
||||||
|
cloud-init.tf domain.tf network.tf outputs.tf pool.tf provider.tf variables.tf volume.tf
|
||||||
|
```
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- [QEMU](https://www.qemu.org/)
|
- [QEMU](https://www.qemu.org/)
|
||||||
@@ -17,7 +37,7 @@ Your Linux x86_64-based machine has at least 4 GB of available memory and 2 CPUs
|
|||||||
## How to use it
|
## How to use it
|
||||||
|
|
||||||
- Clone this repository
|
- Clone this repository
|
||||||
- Go to folder *ubuntu-cloud-server-2404-bios*
|
- Go to folder *example*
|
||||||
- Execute the following commands, which will download and install the required Terraform provider if not already present
|
- Execute the following commands, which will download and install the required Terraform provider if not already present
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -221,6 +241,8 @@ libvirt_pool.ubuntu2: Destruction complete after 0s
|
|||||||
Destroy complete! Resources: 4 destroyed.
|
Destroy complete! Resources: 4 destroyed.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Explanations
|
## Explanations
|
||||||
|
|
||||||
Let's take a look inside the *ubuntu-cloud-server-2404-bios* folder, which contains two files, *ubuntu-cloud-server-2404-bios.tf* and *cloud_init.cfg*
|
Let's take a look inside the *ubuntu-cloud-server-2404-bios* folder, which contains two files, *ubuntu-cloud-server-2404-bios.tf* and *cloud_init.cfg*
|
||||||
|
Reference in New Issue
Block a user