IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Browse Source

Ability to override hostname in compose.

master
parent
commit
8b83f11917
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      focker/compose.py

+ 2
- 1
focker/compose.py View File

@@ -130,7 +130,8 @@ def build_jails(spec):
overrides={
'exec.stop': jailspec.get('exec.stop', '/bin/sh /etc/rc.shutdown'),
'ip4.addr': jailspec.get('ip4.addr', '127.0.1.0'),
'interface': jailspec.get('interface', 'lo1')
'interface': jailspec.get('interface', 'lo1'),
'host.hostname': jailspec.get('host.hostname', jailname)
})
setup_dependencies(spec, generated_names)


Loading…
Cancel
Save