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!
Selaa lähdekoodia

chmod /focker to 0600

master
Stanislaw Adaszewski 4 vuotta sitten
vanhempi
commit
d6c7f3841c
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. +1
    -1
      example/gitea-custom/files/body_inner_pre.tmpl
  2. +1
    -0
      focker/zfs.py

+ 1
- 1
example/gitea-custom/files/body_inner_pre.tmpl Näytä tiedosto

@@ -5,6 +5,6 @@
are only meant to report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
<a href="https://adared.ch" target="_blank">ADARED</a>
projects.
projects. Thank you for your understanding!
</div>
{{end}}

+ 1
- 0
focker/zfs.py Näytä tiedosto

@@ -195,6 +195,7 @@ def zfs_init():
for path in ['/focker', '/focker/images', '/focker/volumes', '/focker/jails']:
if not os.path.exists(path):
os.mkdir(path)
os.chmod('/focker', 0o600)
if not zfs_exists(poolname + '/focker'):
zfs_run(['zfs', 'create', '-o', 'canmount=off', '-o', 'mountpoint=/focker', poolname + '/focker'])
if not zfs_exists(poolname + '/focker/images'):


Loading…
Peruuta
Tallenna