--- /usr/local/vm/openbsd6/openbsd6.conf 2014-02-04 15:34:35.309580165 +0200 +++ /home/syrinx/vmrc/install/openbsd6.conf 2014-01-25 11:51:30.000000000 +0200 @@ -3,7 +3,7 @@ vm_cpus="1" # Number of VM virtual CPUs (max 16) vm_ram="1024" # VM RAM Allocation in MB -vm_console="nmdm" # stdio, nmdm, tmux or tmux-detached (sysutils/tmux) +vm_console=""nmdm" # stdio, nmdm, tmux or tmux-detached (sysutils/tmux) vm_os_type="openbsd" # freebsd, openbsd, or linux vm_os_ver="" # Exact OS version if auto-fetching vm_dev_layout="mbr" # "gpt" or "mbr" volume layout (FreeBSD only) @@ -18,9 +18,9 @@ dist_site="" # Hostname and directory for binary distribution sets iso_site="" # Hostname and directory for ISO image iso_img="" # ISO filename for remote fetch -grub_boot_cmd="printf \"kopenbsd -h com0 (hd0,openbsd1)/bsd\nboot\n\" | grub-bhyve -r hd0 -m "${host_vmroot}/${vm_name}/device.map" -M "$vm_ram" "$vm_name"" +grub_boot_cmd="echo -e \"kopenbsd -h com0 (hd0,openbsd1)/bsd\nboot\" | grub-bhyve -r hd0 -m "${host_vmroot}/${vm_name}/device.map" -M "$vm_ram" "$vm_name"" # grub-bhyve command to boot from IMG -grub_iso_cmd="printf \"kopenbsd -h com0 (cd0)/5.4/amd64/bsd\nboot\n\" | grub-bhyve -r cd0 -m "${host_vmroot}/${vm_name}/device.map" -M "$vm_ram" "$vm_name"" +grub_iso_cmd="echo -e \"kopenbsd -h com0 (cd0)/5.4/amd64/bsd\nboot\" | grub-bhyve -r cd0 -m "${host_vmroot}/${vm_name}/device.map" -M "$vm_ram" "$vm_name"" # grub-bhyve command to boot from ISO vm_hostbridge="amd_" # "amd_" for the AMD hostbridge bhyve_flags="-W" # Additional bhyve(8) flags