network: Fixed setting hostname during Fedora 19 kickstart.
This commit is contained in:
parent
d399d3d05a
commit
98b89b0fe0
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class network::hostname {
|
|||
}
|
||||
}
|
||||
"fedora": {
|
||||
if $::operatingsystemrelease > 17 {
|
||||
if versioncmp($::operatingsystemrelease, "17") == 1 {
|
||||
file { "/etc/hostname":
|
||||
ensure => present,
|
||||
content => "${homename}\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue