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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
# Default configuration file
# Note: You can customize the settings in this file but no setting should be
# removed. Otherwise, KW may not work properly.
#? Attention, when using "./setup.sh -i":
#? - USERKW will be replaced by the current user
#? - INSTALLPATH will be replaced by kw's install path
# Default ssh ip
ssh_ip=localhost
# Default ssh port
ssh_port=2222
# Specify the default architecture used by KW
arch=x86_64
# Defines the virtualization tool that should be used by kw. Current, we only
# support QEMU
virtualizer=qemu-system-x86_64
# Defines the kw mount point, this directory is used by libguestfs during the
# mount/umount operation of a VM
mount_point=/home/USERKW/p/mount
# Sets basic QEMU options
qemu_hw_options=-enable-kvm -daemonize -smp 2 -m 1024
# Defines the network configuration
qemu_net_options=-net nic -net user,hostfwd=tcp::2222-:22,smb=/home/USERKW
# Specify the VM image path
qemu_path_image=/home/USERKW/p/virty.qcow2
# Default alert options (You should use vs, s, v or n. See README.md for details
# on this options)
alert=n
# Command to run for sound completion alert
sound_alert_command=paplay INSTALLPATH/sounds/complete.wav &
# Command to run for visual completion alert
# Note: You may use $COMMAND, which will be replaced by the kw command
# whose conclusion the user wished to be alerted.
visual_alert_command=notify-send -i checkbox -t 10000 "kw" "Command: \\"$COMMAND\\" completed!"
|