Re: [PATCH 2/2] Write out configuration of FCoE to installed system

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

 



Hans de Goede (hdegoede@xxxxxxxxxx) said: 
>      def write(self, instPath, anaconda):
> -        # erm, do we need todo anything here ?
> +        if flags.test or not self.nics:
> +            return
> +
> +        if not os.path.isdir(instPath + "/etc/fcoe"):
> +            os.makedirs(instPath + "/etc/fcoe", 0755)
> +
> +        for nic in self.nics:
> +            fd = os.open(instPath + "/etc/fcoe/cfg-" + nic,
> +                         os.O_RDWR | os.O_CREAT)
> +            os.write(fd, '# Created by anaconda\n')
> +            os.write(fd, '# Enable/Disable FCoE service at the Ethernet port\n')
> +            os.write(fd, 'FCOE_ENABLE="yes"\n')
> +            os.write(fd, '# Indicate if DCB service is required at the Ethernet port\n')
> +            os.write(fd, 'DCB_REQUIRED="no"\n')
> +            os.close(fd)
> +

Is this going to be a Red Hat specific config file?

Bill

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux