propellor spin
This commit is contained in:
parent
dbfa9b5051
commit
9f781db6da
|
@ -26,7 +26,7 @@ setTo hn = combineProperties desc go
|
||||||
[ Just $ "/etc/hostname" `File.hasContent` [basehost]
|
[ Just $ "/etc/hostname" `File.hasContent` [basehost]
|
||||||
, if null domain
|
, if null domain
|
||||||
then Nothing
|
then Nothing
|
||||||
else Just $ hostsline "127.0.1.1" [hn, basehost]
|
else Just $ trivial $ hostsline "127.0.1.1" [hn, basehost]
|
||||||
, Just $ trivial $ hostsline "127.0.0.1" ["localhost"]
|
, Just $ trivial $ hostsline "127.0.0.1" ["localhost"]
|
||||||
, Just $ trivial $ cmdProperty "hostname" [basehost]
|
, Just $ trivial $ cmdProperty "hostname" [basehost]
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue