summaryrefslogtreecommitdiffstats
path: root/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/includes/log_config_summary.inc
blob: 398ae5dc2cf8089f8afd8111cd445087551eb540 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
################################################################################
# Include: log a summary of the configuration state for this machine           #
################################################################################
log_config_summary() {
	writelog "Virtual disk image:"
	writelog "\tDisk file:\t\t$VBOX_HDD_LINK"
	writelog "\tDisk type:\t\tVDI"
	writelog "\tGuest OS:\t\t$VM_OS_TYPE"
	writelog "\tMachine UUID:\t\t$MACHINE_UUID"
	writelog "\tDisk UUID:\t\t$VBOX_HDD_UUID"
	writelog "Virtual Hardware:"
	writelog "\tCPU cores:\t\t${CPU_CORES}"
	[ "$HW_KVM" = "ENABLED" ] && writelog "\t(VT enabled CPU)"
	writelog "\tGuest RAM:\t\t${VM_MEM} MB"
	# echo nur wenn HOST_MEM_REMAINING gesetzt
	[ -n "${HOST_MEM_REMAINING}" ] && writelog "\tHost RAM:\t\t${HOST_MEM_REMAINING} MB"
	writelog "\tMAC address:\t\t$VM_MAC_ADDR"
	writelog ""
	writelog "\tCD-ROM1:\t\t${CDROM0}"
	writelog "\tFloppy A:\t\t${FLOPPY0}"
	writelog "\tFloppy B:\t\t${floppy_img}"
	writelog "\tShared Folders:\t\t'${HOME_SHARE_NAME}' -> '${HOME_SHARE_PATH}'"
}

call_post_source log_config_summary