This page (revision-40) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
40 23-Apr-2022 17:06 41 KB Harry Metske to previous
39 23-Apr-2022 17:05 41 KB Harry Metske to previous | to last
38 23-Apr-2022 17:05 40 KB Harry Metske to previous | to last --biosbootmenu disabled, not more than one cpu
37 23-Apr-2022 17:05 38 KB Harry Metske to previous | to last
36 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
35 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
34 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
33 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
32 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
31 23-Apr-2022 17:05 36 KB Harry Metske to previous | to last
30 23-Apr-2022 17:05 35 KB Harry Metske to previous | to last
29 23-Apr-2022 17:05 35 KB Harry Metske to previous | to last
28 23-Apr-2022 17:05 35 KB Harry Metske to previous | to last guest properties
27 23-Apr-2022 17:05 33 KB Harry Metske to previous | to last
26 23-Apr-2022 17:05 32 KB Harry Metske to previous | to last
25 23-Apr-2022 17:05 32 KB Harry Metske to previous | to last
24 23-Apr-2022 17:05 31 KB Harry Metske to previous | to last
23 23-Apr-2022 17:05 30 KB Harry Metske to previous | to last
22 23-Apr-2022 17:05 30 KB Harry Metske to previous | to last
21 23-Apr-2022 17:05 29 KB Harry Metske to previous | to last cpu affinity

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 602 changed one line
! Preparing original mother system
! Preparing mother system (DSL)
At line 612 changed one line
* __TODO__ to use this name in the guest, you first have to install the guest additions, see Chapter 4.3.1 ''Installing the Linux Guest Additions''
* to use this name in the guest, you first have to install the guest additions, see Chapter 4.3.1 ''Installing the Linux Guest Additions''
At line 625 added 16 lines
! Preparing mother system (Ubuntu)
The same thing was done with a rather minimal Ubuntu910 server.\\
To summarize :
* 1.5 GB filesystem
* set the hostname inside the guest to guestproperty GUESTNAME by adding the following to /etc/rc.local:
{{{
# set the hostname to the value that is set by the hypervisor
HostName=`VBoxControl guestproperty get GUESTNAME | grep Value | cut -d' ' -f2`
hostname $HostName
echo $HostName > /etc/hostname
logger "$0 : hostname set to $HostName"
}}}
* store my id_rsa.pub file in ~/.ssh
* visudo so that I can easily su without prompting
At line 676 added 28 lines
Or the new script for Ubuntu:
%%prettify
{{{
#!/bin/sh
#
# script to generate VBoxManage VMs
#
NUMVMS=$1
for N in `seq 1 $NUMVMS`
do
echo "Creating VM $N"
VBoxManage clonehd HardDisks/ubuntu910disk.vdi HardDisks/ubm${N}disk.vdi --remember
VBoxManage createvm --name ubm$N --register --ostype Ubuntu
VRDPPORT=`expr 10000 + $N`
VBoxManage modifyvm ubm$N --memory 64 --vram 6 --boot1 disk --hda HardDisks/ubm${N}disk.vdi --nic1 bridged --bridgeadapter1 wlan0 --vrdp on --vrdpport $VRDPPORT
VBoxManage guestproperty set ubm$N GUESTNAME ubm$N --flags RDONLYGUEST
done
echo ""
echo "VirtualBox's known VMs :"
echo " -------------------------------------------------------------"
VBoxManage list vms
#echo ""
#echo ""
#echo "VirtualBox's known HDDs :"
#echo " -------------------------------------------------------------"
#VBoxManage list hdds
}}}
%%
At line 731 changed 8 lines
* set the hostname inside the guest to guestproperty GUESTNAME by adding the following to /etc/rc.local:
{{{
# set the hostname to the value that is set by the hypervisor
HostName=`VBoxControl guestproperty get GUESTNAME | grep Value | cut -d' ' -f2`
hostname $HostName
echo $HostName > /etc/hostname
logger "$0 : hostname set to $HostName"
}}}