• R/O
  • HTTP
  • SSH
  • HTTPS

grid-chef-repo:

Grid環境構築用のChefリポジトリです。


File Info

Rev. eadd03decc4c7bdb92e898bf57fdcbe64c23b2b2
Size 934 bytes
Time 2022-01-11 20:13:14
Author whitestar
Log Message

improve the backup and restore scripts.

Content

name 'lxc'
description 'LXC role.'

run_list(
  'recipe[lxcs::lxc]',
)

#env_run_lists()

#default_attributes()

override_attributes(
  'lxcs' => {
    'lxc' => {
      'extra-default.conf' => {
        'default-br0.conf' => [
          'lxc.network.type = veth',
          'lxc.network.link = br0',
          'lxc.network.flags = up',
          'lxc.network.hwaddr = 00:16:3e:xx:xx:xx',
        ],
        'default-br0-unpriv.conf' => [
          'lxc.network.type = veth',
          'lxc.network.link = br0',
          'lxc.network.flags = up',
          'lxc.network.hwaddr = 00:16:3e:xx:xx:xx',
          'lxc.id_map = u 0 100000 65536',
          'lxc.id_map = g 0 100000 65536',
        ],
      },
      'lxc-usernet' => [
        #'alice veth lxcbr0 10',
      ],
      'unprivileged_container' => {
        'enabled' => true,
        'users_allow' => [
          'root',
          #'alice',
        ],
      },
    },
  },
)
Show on old repository browser