Skip to content

Commit

Permalink
Copy /etc/hosts to the target system when written before proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed May 24, 2020
1 parent 4d3bd60 commit 2535e9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/lib/network/clients/save_network.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def CopyConfiguredNetworkFiles
{ dir: SYSCONFIG, file: "routes" },
{ dir: ::File.join(ETC, "wicked"), file: "common.xml" },
{ dir: ETC, file: DNSClass::HOSTNAME_FILE },
{ dir: ETC, file: "hosts" },
# Copy sysctl file as network writes there ip forwarding (bsc#1159295)
{ dir: ::File.join(ETC, "sysctl.d"), file: "70-yast.conf" }
]
Expand Down
1 change: 0 additions & 1 deletion src/lib/y2network/sysconfig/interfaces_writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ module Sysconfig
#
# @see Y2Network::InterfacesCollection
class InterfacesWriter

# Constructor
#
# @param reload [Boolean] whether the udev rules should be reloaded or not
Expand Down

0 comments on commit 2535e9a

Please sign in to comment.