Yes, enp0s3 and enp0s8 are specific to my VM image. If you're using Ubuntu 
cloud images 16.04, you could just use the heat template in onap demo repo.

From: Ali, Shaheen [mailto:[email protected]]
Sent: Thursday, May 4, 2017 3:10 AM
To: Lu, Lianhao <[email protected]>; [email protected]
Subject: RE: Ubuntu 16.04 VM do not have eth0

Lianhao,

Is enp0s3 and enp0s8 examples?  Do I need to log in to find out what specific 
ethernet names are?

thanks,

Shaheen
________________________________
From: Lu, Lianhao [[email protected]]
Sent: Wednesday, May 03, 2017 2:34 PM
To: Ali, Shaheen; 
[email protected]<mailto:[email protected]>
Subject: RE: Ubuntu 16.04 VM do not have eth0
If you look at the heat template, you could find the following lines, please 
modify according to your base image:

# Rename network interface
sed -i 's/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX="net.ifnames=0 
biosdevname=0"/g' /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg
sed -i "s/enp0s3/eth0/g" /etc/network/interfaces
sed -i "s/enp0s8/eth1/g" /etc/network/interfaces

From: 
[email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Ali, Shaheen
Sent: Thursday, May 4, 2017 2:13 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] Ubuntu 16.04 VM do not have eth0

Hello All,

I would like specific instructions on how to modify the heat template so that 
the robot, sdc and mso instances all correctly configure their network.

Recently, Munir posted this helpful reply.
Message: 1
Date: Thu, 13 Apr 2017 13:23:51 +0000
From: "Ahmad, Munir" <[email protected]<mailto:[email protected]>>
To: Chris Reece <[email protected]<mailto:[email protected]>>,
        "[email protected]<mailto:[email protected]>"   
<[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] Ubuntu 16.04 VM do not have eth0
Message-ID: 
<[email protected]<mailto:[email protected]>>
Content-Type: text/plain; charset="utf-8"

Hello Chris,

You need to rename the following two interfaces.

?         ens4 to eth0

?         ens3 to eth1
then rerun the /var/lib/cloud/instance/user-data.txt

In order to do this do I need console access or a modified heat template?

Thanks,

Shaheen Ali
This communication is the property of CenturyLink and may contain confidential 
or privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful. If you have received this communication in 
error, please immediately notify the sender by reply e-mail and destroy all 
copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential 
or privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful. If you have received this communication in 
error, please immediately notify the sender by reply e-mail and destroy all 
copies of the communication and any attachments.
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to