mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 01:10:01 +01:00
Merge fixes from 1.1-stable
This commit is contained in:
@@ -395,6 +395,6 @@ info::__bytes_human(){
|
||||
5) _ext="T" ;;
|
||||
esac
|
||||
|
||||
export LC_NUMERIC="C"
|
||||
export LC_ALL="C"
|
||||
printf "%.3f%s" "${_val}" "${_ext}"
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ switch::standard::init(){
|
||||
switch::standard::id "_id" "${_name}" && return 0
|
||||
|
||||
# create a bridge for this switch
|
||||
_id=$(ifconfig bridge create description "vm-${_name}" up 2>/dev/null)
|
||||
_id=$(ifconfig bridge create description "vm-${_name}" priority 0 up 2>/dev/null)
|
||||
[ $? -ne 0 ] && util::err "failed to create bridge interface for switch ${_name}"
|
||||
|
||||
# try to set ip address
|
||||
|
||||
@@ -5,3 +5,5 @@ network0_type="virtio-net"
|
||||
network0_switch="public"
|
||||
disk0_type="ahci-hd"
|
||||
disk0_name="disk0.img"
|
||||
grub_run_partition="1"
|
||||
grub_run_dir="/boot/grub"
|
||||
|
||||
Reference in New Issue
Block a user