michaeldexter / vmrc

Virtual Machine rc script
ISC License
106 stars 25 forks source link

ifconfig_cmd.sh #17

Open hedon77 opened 9 years ago

hedon77 commented 9 years ago

File ifconfig_cmd.sh after the change and reboot the machine is overwritten default variables.

michaeldexter commented 9 years ago

On 11/4/14 3:26 PM, hedon77 wrote:

File ifconfig_cmd.sh after the change and reboot the machine is overwritten default variables.

This is generated at boot time and yes, that will happen. It is intended to illustrate what steps took place. It is not intended for ongoing use of a VM.

Michael

hedon77 commented 9 years ago

I thought that the file ifconfig_cmd.sh is used to assign interfaces to the bridge. So, lacking the functionality to assign the interface to a particular bridge? This must be done manually? Interface is automatically generated tune0 what is needed or is it a bug? Sorry for my english: D

Yours

michaeldexter commented 9 years ago

On 11/4/14 11:49 PM, hedon77 wrote:

So, lacking the functionality to assign the interface to a particular bridge? This must be done manually?

You can use a preflight script to reconfigure the network to your liking.

Interface is automatically generated tune0 what is needed or is it a bug?

Do you mean tap#### interface?

I see that a tap0 is created by ifconfig but not used. I hope to track down when and this was a motivation for the new logging.

As for multiple bridges and other flexibility, I do not know the limit of what people want to do. Feedback welcome.

Michael

michaeldexter commented 9 years ago

Note the changed bridge and MAC options in the recent versions.