Browse code

Remove /etc/sysconfig/network file

* This file is not used, and carry incorrect information anyways

Change-Id: I373dfdf6ee7782597867b31629d97d93a860aed0
Reviewed-on: http://photon-jenkins.eng.vmware.com/316
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: suezzelur <anishs@vmware.com>

mbassiouny authored on 2016/01/08 05:40:41
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:	11%{?dist}
4
+Release:	12%{?dist}
5 5
 License:	GPLv3
6 6
 Group:		System Environment/Base
7 7
 Vendor:		VMware, Inc.
... ...
@@ -133,10 +133,6 @@ cat > %{buildroot}/etc/hosts <<- "EOF"
133 133
 # End /etc/hosts (network card version)
134 134
 EOF
135 135
 #
136
-#	7.8. Configuring the system hostname
137
-#
138
-echo "HOSTNAME=photon.eng.vmware.com" > %{buildroot}/etc/sysconfig/network
139
-#
140 136
 #	7.9. Configuring the setclock Script"
141 137
 #
142 138
 cat > %{buildroot}/etc/sysconfig/clock <<- "EOF"
... ...
@@ -375,7 +371,6 @@ ln -sv ../usr/lib/os-release %{buildroot}/etc/os-release
375 375
 %dir /etc/sysconfig
376 376
 %config(noreplace) /etc/sysconfig/clock
377 377
 %config(noreplace) /etc/sysconfig/console
378
-%config(noreplace) /etc/sysconfig/network
379 378
 %dir /etc/systemd/network
380 379
 %config(noreplace) /etc/systemd/network/10-dhcp-en.network
381 380
 %dir /etc/profile.d
... ...
@@ -461,6 +456,8 @@ ln -sv ../usr/lib/os-release %{buildroot}/etc/os-release
461 461
 /usr/local/lib64
462 462
 %endif
463 463
 %changelog
464
+*   Thu Jan 7 2016 Mahmoud Bassiouny <mbassiouny@vmware.com> 7.5-12
465
+-   Removing /etc/sysconfig/network file.
464 466
 *   Mon Nov 16 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 7.5-11
465 467
 -   Removing /etc/fstab mount entries.
466 468
 *   Mon Nov 16 2015 Sharath George <sharathg@vmware.com> 7.5-10