Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
extensions: do not use /etc/HOSTNAME artifact
  • Loading branch information
mtomaschewski committed Sep 18, 2018
1 parent 5abe25e commit 5c078ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/hostname
@@ -1,7 +1,7 @@
#!/bin/bash

hostnamedir=/var/run/wicked/extension/hostname
defaulthostname=/etc/HOSTNAME
defaulthostname=/etc/hostname

type=""
family=""
Expand Down Expand Up @@ -39,7 +39,7 @@ get_current_hostname()

case $cmd in
backup)
: # /etc/HOSTNAME is not modified by `hostname`, so no need for explicit backup.
: # /etc/hostname is not modified by `hostname`, so no need for explicit backup.
;;

restore)
Expand Down

0 comments on commit 5c078ce

Please sign in to comment.