I patched the VE image with
#./patch-image.sh -s ../lib/f5_image_prep/startup.tar -f /var/tmp/BIGIP-13.0.0.2.0.1671.qcow2
then created the VE instance with this image with only one NIC interface
#openstack server create --flavor f5-all --image bigip-13.0.0-hf2 --nic net-id=04d24182-856d-47ab-8ce8-41adad01c724 --security-group default --key-name mykey bigip1300hf2-selfservice-instance
when the virtual instance started up, it complains base configuration error as below:
[root@host-172-16-1-12:INOPERATIVE:Standalone] config # tmsh load sys config base
Loading system configuration...
/defaults/asm_base.conf
/defaults/config_base.conf
/defaults/ipfix_ie_base.conf
/defaults/ipfix_ie_f5base.conf
/defaults/low_profile_base.conf
/defaults/low_security_base.conf
/defaults/policy_base.conf
/defaults/wam_base.conf
Loading configuration...
/config/bigip_base.conf
/config/bigip_user.conf
010718de:3: Failed to set MTU for virtual NIC mgmt: Invalid argument <==================
Unexpected Error: Loading configuration process failed.
[root@host-172-16-1-12:INOPERATIVE:Standalone] config # ip link list
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,ALLMULTI,PROMISC,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast master mgmt state UP qlen 1000
link/ether fa:16:3e:e9:0f:b7 brd ff:ff:ff:ff:ff:ff
3: mgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue state UP
link/ether fa:16:3e:e9:0f:b7 brd ff:ff:ff:ff:ff:ff
4: tmm: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9282 qdisc noqueue state UNKNOWN
link/ether 00:98:76:54:32:10 brd ff:ff:ff:ff:ff:ff
5: tmm_bp: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 02:01:23:45:00:fe brd ff:ff:ff:ff:ff:ff
I don't have the problem if I am not including startup.tar, I suspect the openstack-network.sh may have something to do with this issue.