Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Commit

Permalink
6 added parallels and virtualbox product indentifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlinDMC authored and rmustacc committed Jun 28, 2012
1 parent 8a9fb1a commit 4a8f0e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/svc/method/net-physical
Expand Up @@ -124,7 +124,7 @@ if smf_is_globalzone; then
load_sdc_config
# Load boot params with BOOT_ prefix
load_sdc_bootparams

# Set up etherstubs
for stub in $(echo "${CONFIG_etherstub}" | sed -e "s/,/ /g"); do
dladm create-etherstub -t $stub || echo "ERROR: could not create etherstub ${stub}."
Expand Down Expand Up @@ -176,8 +176,8 @@ if smf_is_globalzone; then
ifconfig ${SYSINFO_NIC_admin} dhcp || /bin/true
ADMIN_NIC_UP=true
fi
# If on VMWare, create a bridge which allows traffic to flow correctly to the host-only network
if [[ "${ADMIN_NIC_UP}" == "true" ]] && [[ ${SYSINFO_Product} == "VMware Virtual Platform" ]]; then
# If on VMWare or Parallels or VirtualBox, create a bridge which allows traffic to flow correctly to the host-only network
if [[ "${ADMIN_NIC_UP}" == "true" ]] && [[ ${SYSINFO_Product} == "VMware Virtual Platform" || ${SYSINFO_Product} == "Parallels Virtual Platform" || ${SYSINFO_Product} == "VirtualBox" ]]; then
dladm create-bridge -l ${SYSINFO_NIC_admin} vmwarebr
fi
else
Expand Down

0 comments on commit 4a8f0e0

Please sign in to comment.