2016-10-08 18:30:05 +02:00
|
|
|
# qvm - Trivial management of 64 bit virtual machines with qemu.
|
|
|
|
#
|
|
|
|
# Written in 2016 by Franco Masotti/frnmst <franco.masotti@student.unife.it>
|
|
|
|
#
|
|
|
|
# To the extent possible under law, the author(s) have dedicated all
|
|
|
|
# copyright and related and neighboring rights to this software to the public
|
|
|
|
# domain worldwide. This software is distributed without any warranty.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the CC0 Public Domain Dedication along
|
|
|
|
# with this software. If not, see
|
|
|
|
# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|
|
|
|
2016-11-06 22:08:59 +01:00
|
|
|
img_name="parabola-mate-2016.07.27-dual.iso"
|
2016-10-08 18:30:05 +02:00
|
|
|
|
2018-12-27 13:05:08 +01:00
|
|
|
# Size assigned to the vm's HDD.
|
2016-10-08 18:30:05 +02:00
|
|
|
vhd_size="16G"
|
2018-12-27 13:05:08 +01:00
|
|
|
|
|
|
|
# You should leave the following as-is.
|
|
|
|
vhd_name=""$img_name".qcow2"
|
2018-01-11 20:15:51 +01:00
|
|
|
|
2018-11-06 17:23:45 +01:00
|
|
|
# Total number of cores assigned to the vm.
|
|
|
|
# You should set the appropriate number to have a better experience.
|
|
|
|
number_of_cores="1"
|
|
|
|
|
2018-01-11 20:15:51 +01:00
|
|
|
# Total RAM assigned to the vm.
|
2016-10-08 18:30:05 +02:00
|
|
|
vm_memory="4G"
|
|
|
|
|
|
|
|
# Shared port.
|
2018-12-27 13:05:08 +01:00
|
|
|
host_port_1="5555"
|
|
|
|
# vm port.
|
|
|
|
guest_port_1="3050"
|
|
|
|
|
|
|
|
# Another shared port.
|
|
|
|
host_port_2="5556"
|
2016-10-08 18:30:05 +02:00
|
|
|
# vm port.
|
2018-12-27 13:05:08 +01:00
|
|
|
guest_port_2="3051"
|
2018-01-11 20:15:51 +01:00
|
|
|
|
2016-10-08 18:30:05 +02:00
|
|
|
# Shared port.
|
|
|
|
ssh_host_port="2222"
|
|
|
|
# vm port.
|
|
|
|
ssh_guest_port="22"
|
2018-01-11 20:15:51 +01:00
|
|
|
|
2018-12-27 13:05:08 +01:00
|
|
|
# guest user name useful to connect with ssh.
|
2016-11-07 16:10:40 +01:00
|
|
|
ssh_guest_username="vm"
|
2016-10-08 18:30:05 +02:00
|
|
|
|
2018-01-11 20:15:51 +01:00
|
|
|
shared_data_path="/home/user/qvm/shared_host_guest"
|
2016-10-08 18:30:05 +02:00
|
|
|
mount_tag="host_share"
|
2017-10-18 11:41:15 +02:00
|
|
|
|
2018-01-11 20:15:51 +01:00
|
|
|
#
|
|
|
|
# VNC stuff and automatical remote startup stuff
|
|
|
|
#
|
2017-10-18 11:41:15 +02:00
|
|
|
host_ip_address="192.168.1.1"
|
|
|
|
host_username="parabola"
|
|
|
|
|
2018-01-11 20:15:51 +01:00
|
|
|
#
|
2018-12-27 13:05:08 +01:00
|
|
|
# Automatical remote startup stuff only.
|
2018-01-11 20:15:51 +01:00
|
|
|
#
|
|
|
|
# The port used to connecting directly to the host computer.
|
|
|
|
ssh_exposed_port="22"
|
|
|
|
host_qvm_script_directory="/home/remote/qvm"
|
2018-12-27 13:05:08 +01:00
|
|
|
seconds_before_connection_attempt="25"
|
2018-01-11 20:15:51 +01:00
|
|
|
|