configure.pm.patch

Assign green role when one NIC only is installed - Davide Principi, 05/02/2013 12:49 PM

Download (463 Bytes)

View differences:

/usr/share/perl5/vendor_perl/esmith/console/configure.pm 2013-05-02 10:36:51.345207411 +0000
51 51

  
52 52
    if (scalar @adapters == 1)
53 53
    {
54
	$ifName = @{[split(/\s+/, $adapters[0])]}[1];
54 55
	# Internal, and there's only one, force role to green
55 56
        $idb->set_prop($ifName, "role", "green");
56 57
        $db->set_value('UnsavedChanges', 'yes');