Changeset 86471 in vbox for trunk/src/VBox/Main/UnattendedTemplates
- Timestamp:
- Oct 7, 2020 4:56:42 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/UnattendedTemplates/lgw_postinstall.sh
r85359 r86471 351 351 352 352 # 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"`353 vnic1_md=`echo "$metadata"|grep -E "\sUP\s"` 354 354 vnic1_dev=`echo $vnic1_md|cut -d ' ' -f 8` 355 355 vnic1_mac=`echo $vnic1_md|cut -d ' ' -f 12` 356 356 # 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"`357 vnic2_md=`echo "$metadata"|grep -E "\sDOWN\s"` 358 358 vnic2_dev=`echo $vnic2_md|cut -d ' ' -f 8` 359 359 vnic2_gw=`echo $vnic2_md|cut -d ' ' -f 5`
Note:
See TracChangeset
for help on using the changeset viewer.