Comment 4 for bug 1463461

Revision history for this message
Scott Moser (smoser) wrote :

Martin,
# systemctl status -l ifup@*.service; echo $?
0

The difference between your scenario and mine is that the NIC has been brougt up in the initramfs and is using iscsi root, so you can't bounce the nic, so ifup doesnt occur.

$ cat /proc/cmdline
nomodeset iscsi_target_name=tgt-boot-test-mT14s1 iscsi_target_ip=192.168.1.132 iscsi_target_port=3260 iscsi_initiator=maas-enlist ip=::::maas-enlist:BOOTIF ro BOOTIF_DEFAULT=eth0 root=/dev/disk/by-path/ip-192.168.1.132:3260-iscsi-tgt-boot-test-mT14s1-lun-1 overlayroot=tmpfs console=ttyS0 console=tty1 debug ds=nocloud-net;seedfrom=http://192.168.1.132:32600/

The README at http://bazaar.launchpad.net/~smoser/maas/maas-ephemeral-sniff/view/head:/README.txt shows how to to do this. The tools there handle setting up and tearing down iscsi target.