Browse code

Fixing dhcp matching rules.

Sharath George authored on 2015/06/16 08:41:47
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Default file system
2 2
 Name:		filesystem
3 3
 Version:	7.5
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	GPLv3
6 6
 Group:		System Environment/Base
7 7
 Vendor:		VMware, Inc.
... ...
@@ -111,9 +111,9 @@ EOF
111 111
 #
112 112
 #	7.2.2. Creating Network Interface Configuration Files"
113 113
 #
114
-cat > %{buildroot}/etc/systemd/network/10-dhcp-eth0.network <<- "EOF"
114
+cat > %{buildroot}/etc/systemd/network/10-dhcp-en.network <<- "EOF"
115 115
 [Match]
116
-Name=eth0
116
+Name=en*
117 117
 
118 118
 [Network]
119 119
 DHCP=yes
... ...
@@ -378,7 +378,7 @@ ln -sv ../usr/lib/os-release %{buildroot}/etc/os-release
378 378
 %config(noreplace) /etc/sysconfig/console
379 379
 %config(noreplace) /etc/sysconfig/network
380 380
 %dir /etc/systemd/network
381
-%config(noreplace) /etc/systemd/network/10-dhcp-eth0.network
381
+%config(noreplace) /etc/systemd/network/10-dhcp-en.network
382 382
 %dir /etc/profile.d
383 383
 #	media filesystem
384 384
 %dir /run/media/cdrom
... ...
@@ -460,6 +460,8 @@ ln -sv ../usr/lib/os-release %{buildroot}/etc/os-release
460 460
 /usr/local/lib64
461 461
 %endif
462 462
 %changelog
463
+*   Mon Jun 15 2015 Sharath George <sharathg@vmware.com> 7.5-3
464
+-   Change the network match for dhcp.
463 465
 *   Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 7.5-2
464 466
 -   Update according to UsrMove.
465 467
 *	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 7.5-1