Re: Generating ifcfg-eth0 from scratch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, May 11, 2011 at 10:45 AM, JB <jb.1234abcd@xxxxxxxxx> wrote:
> The results of scan for UUID:
>
> # grep -ir uuid /etc/init.d/
> /etc/init.d/messagebus:        /bin/dbus-uuidgen --ensure
>
> The above relates to machine-id.
>
> # grep -ir uuid /etc/sysconfig/
> /etc/sysconfig/network-scripts/ifup:if [ "$USE_NM" = "true" -a -n "$UUID" ];
>  then
> /etc/sysconfig/network-scripts/ifup:    nmcli con up uuid "$UUID"
> /etc/sysconfig/network-scripts/ifdown:    if [ -n "$UUID" -a -z "$DEVICE" ];
> then
> /etc/sysconfig/network-scripts/ifdown:  DEVICE=$(nmcli -t --fields uuid,devices
> con status | awk -F ':' "\$1 == \"$UUID\" { print \$2 }")
> /etc/sysconfig/network-scripts/network-functions:get_uuid_by_config ()
> /etc/sysconfig/network-scripts/network-functions:    if [ -z "$UUID" -a
> "$USE_NM" = "true" ]; then
> /etc/sysconfig/network-scripts/network-functions:
> UUID=$(get_uuid_by_config $CONFIG)
[snip..]

Yes, it does appear that much of that file is for the purpose of
NetworkManager, which I'm not using. I was just concerned about the
interfaces somehow getting switched, such as from a kernel upgrade or
some kind of module loading race.

In any case, thanks for your help, as always. It appears to be
reliable now, but I'll continue to search for possible ways to
permanently bind an IP to an interface without using NetworkManager.

Thanks,
Alex
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux