Skip to content

Commit

Permalink
For rd.hostonly=0 remove all initqueue/finished files also
Browse files Browse the repository at this point in the history
This helps booting systems with changed configuration
  • Loading branch information
haraldh committed Nov 25, 2015
1 parent 2249e73 commit 87e90d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/99base/dracut-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ show_memstats()
}

remove_hostonly_files() {
rm -fr /etc/cmdline /etc/cmdline.d/*.conf
rm -fr /etc/cmdline /etc/cmdline.d/*.conf "$hookdir/initqueue/finished"
if [ -f /lib/dracut/hostonly-files ]; then
while read line || [ -n "$line" ]; do
[ -e "$line" ] || [ -h "$line" ] || continue
Expand Down

0 comments on commit 87e90d7

Please sign in to comment.