Skip to content

Commit

Permalink
Fixed hostname bug
Browse files Browse the repository at this point in the history
  • Loading branch information
clayrisser committed Jun 1, 2018
1 parent 4bdf654 commit cffb76e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.2.7] - 2018-06-01
### Fixed
* hostname bug

## [0.2.7] - 2018-06-01
### Fixed
* packaging bugs
Expand Down
2 changes: 1 addition & 1 deletion forkbuntu/steps/load_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def run(self):
preseed = preseed + '.seed'
self.app.conf = munchify(_.merge({}, self.app.conf, {
'description': c.description if 'description' in c else c.name + ' ' + c.version,
'hostname': c.hostname if 'hostname' in c else _.snake_case(c.name),
'hostname': c.hostname if 'hostname' in c else _.snake_case(c.name).replace('_', '-'),
'preseed': preseed
}))

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
setup(
name='forkbuntu',

version='0.2.7',
version='0.2.8',

description='Easily create your own ubuntu distribution and install cd',

Expand Down

0 comments on commit cffb76e

Please sign in to comment.