diff --git a/how-to/How-To-Setup-the-nc-env-Virtual-Machine.md b/how-to/How-To-Setup-the-nc-env-Virtual-Machine.md index 7ada3ef..71dffe7 100644 --- a/how-to/How-To-Setup-the-nc-env-Virtual-Machine.md +++ b/how-to/How-To-Setup-the-nc-env-Virtual-Machine.md @@ -58,20 +58,34 @@ $ lxc import nc-env-vm.tar.bz2 ``` -6. Import the volume called `nc-env-vm-storage` and attach it to the virtual machine +6. Import the volume called `nc-env-vm-storage` and attach it to the virtual machine: ``` $ lxc storage volume import nc-env-vm-pool nc-env-vm-storage.tar.bz2 $ lxc storage volume attach nc-env-vm-pool nc-env-vm-storage nc-env-vm ``` -7. Start the virtual machine and open a graphical console into it +7. Start the virtual machine and open a graphical console into it: ``` $ lxc start nc-env-vm $ lxc console --type vga nc-env-vm ``` + +## Important Virtual Machine Information + +* When connecting with the graphical console you will be using user `ubuntu`, with password `ubuntu` +* An alternative way to connect to the virtual machine is via `lxc exec nc-env-vm bash`, in this case you + will be connected with `root` +* The VM comes with the latest nc-env stable version, available in the user home folder +* When using a loop device for the storage pool you need to launch the following commands at each host machine + reboot + +``` +$ sudo losetup /dev/loop19 nc-env-vm-pool.disk +$ sudo zpool import nc-env-vm-pool +``` You are now ready to create your first container-based Nextcloud environment!