Verified Commit 4530c42a authored by Marin Hannache's avatar Marin Hannache
Browse files

vm: rename vm_external to cri_vm


Signed-off-by: Marin Hannache's avatarMarin Hannache <mareo@cri.epita.fr>
parent e8002244
# How to setup and use pie-external VM
# How to setup and use the PIE VM
This method allow you to have the PIE's environment in a VM on your computer.
This method allow you to have the PIE environment running in a VM on your
computer.
## First step
Install [Virtual Box](https://www.virtualbox.org/).
On linux you can install it with your packet manager (for [Debian](https://wiki.debian.org/VirtualBox) or [ArchLinux](https://wiki.archlinux.org/index.php/VirtualBox)).
On linux you can install it with your packet manager ([Debian](https://wiki.debian.org/VirtualBox) or
[ArchLinux](https://wiki.archlinux.org/index.php/VirtualBox)).
## Second step
Download the VirtualBox appliance from [this address](https://static.cri.epita.fr/cri-vm.ova).
Download our [VirtualBox appliance](https://static.cri.epita.fr/cri-vm.ova).
Open VirtualBox and go to `File > Import Appliance` and import the file you just downloaded.
Open VirtualBox and go to `File > Import Appliance` and import the file you
just downloaded.
![appliance](assets/vm_external_1.PNG)
When setting `Appliance settings` verify RAM parameters as minimum is `2048 MB`.
You can then click the `Import` button.
![import](assets/vm_external_2.PNG)
![folder](assets/vm_external_3.PNG)
When getting to the `Appliance settings` page, you may adjust the RAM and CPU
parameters. Be careful to have a least 2048 MB of RAM.
You can then click the `Import` button.
![settings](assets/vm_external_4.PNG)
## Third step
Inside Virtual Box select your newly created virtual machine and click on `Start` button.
Inside Virtual Box select your newly created virtual machine and click on
`Start` button.
In the PXE menu, you should be used to see it, select `Prepare disk`.
In the familiar PXE menu, choose the `Prepare disk` entry.
Let it boot, a script will run automatically. Your VM will shutdown after script execution.
Let it boot, a script will run automatically and your VM will shutdown once its
done.
![select](assets/vm_external_5.PNG)
![menu](assets/vm_external_6.PNG)
## Fourth step
You can now `Start` your VM again. You can now use the PXE menu as usual to boot `Archlinux` image.
You can now `Start` your VM again. You can now use the PXE menu as usual to
boot `Archlinux` image.
Be careful ! You should log with `epita` user and no password. Your data is in `/home/epita`, this directory is persistent so you will not lose files when rebooting.
Be careful ! You should log with `epita` user and no password. Your data is in
`/home/epita`, this directory is kept between reboot, you will not lose files
each time you stop your VM.
......@@ -3,7 +3,7 @@ theme: readthedocs
repo_url: https://github.com/epita/epita-doc/
markdown_extensions:
- admonition
pages:
nav:
- Home: 'index.md'
- Documentation:
- PIE: 'pie.md'
......@@ -14,6 +14,7 @@ pages:
- 'map.md'
- 'news.md'
- 'print.md'
- CRI VM: 'cri_vm.md'
- Accounts:
- Cri and Bocal accounts: 'accounts.md'
- Recover and modify passwords: 'passwords.md'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment