VirtualBox

Ignore:
Timestamp:
Oct 7, 2020 4:56:42 PM (4 years ago)
Author:
vboxsync
Message:

OCI: (bugref:9469) Fixed network interface parsing in local bridge script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/UnattendedTemplates/lgw_postinstall.sh

    r85359 r86471  
    351351
    352352# Extract primary VNIC info
    353 vnic1_md=`echo "$metadata"|grep -E "^\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+0\s"`
     353vnic1_md=`echo "$metadata"|grep -E "\sUP\s"`
    354354vnic1_dev=`echo $vnic1_md|cut -d ' ' -f 8`
    355355vnic1_mac=`echo $vnic1_md|cut -d ' ' -f 12`
    356356# Extract secondary VNIC info
    357 vnic2_md=`echo "$metadata"|grep -E "^\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+1\s"`
     357vnic2_md=`echo "$metadata"|grep -E "\sDOWN\s"`
    358358vnic2_dev=`echo $vnic2_md|cut -d ' ' -f 8`
    359359vnic2_gw=`echo $vnic2_md|cut -d ' ' -f 5`
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette