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!
Parcourir la source

Ability to override hostname in compose.

master
Stanislaw Adaszewski il y a 4 ans
Parent
révision
8b83f11917
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      focker/compose.py

+ 2
- 1
focker/compose.py Voir le fichier

@@ -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)


Chargement…
Annuler
Enregistrer