ソースを参照

current

master
コミット
2bec50c2de
5個のファイルの変更35行の追加3行の削除
  1. +2
    -0
      defaults/main.yml
  2. +0
    -1
      tasks/main.yml
  3. +1
    -1
      templates/custom.list.chroot.j2
  4. +20
    -0
      templates/lb-config-args.j2
  5. +12
    -1
      vars/main.yml

+ 2
- 0
defaults/main.yml ファイルの表示

@@ -3,3 +3,5 @@ debian_mirror: http://deb.debian.org/debian
debian_live_build_serial_console: false debian_live_build_serial_console: false
debian_live_build_bootappend_live: boot=live components quiet {{ debian_live_build_serial_console | ternary('console=ttyS0','') }} hostname={{ debian_live_build_hostname }} debian_live_build_bootappend_live: boot=live components quiet {{ debian_live_build_serial_console | ternary('console=ttyS0','') }} hostname={{ debian_live_build_hostname }}
debian_live_build_hostname: "{{ inventory_hostname }}" debian_live_build_hostname: "{{ inventory_hostname }}"

debian_live_build_distribution: stretch

+ 0
- 1
tasks/main.yml ファイルの表示

@@ -27,7 +27,6 @@
lb clean lb clean
args: args:
chdir: "{{ debian_live_build_directory }}" chdir: "{{ debian_live_build_directory }}"
when: live_build_clean is defined and live_build_clean


- name: lb config - name: lb config
command: command:


+ 1
- 1
templates/custom.list.chroot.j2 ファイルの表示

@@ -1,3 +1,3 @@
{% for package in debian_live_build_custom_packages %} {% for package in debian_live_build_custom_packages %}
{{package}}
{{ package }}
{% endfor %} {% endfor %}

+ 20
- 0
templates/lb-config-args.j2 ファイルの表示

@@ -9,3 +9,23 @@
{% if debian_live_build_bootappend_live is defined %} {% if debian_live_build_bootappend_live is defined %}
--bootappend-live "{{ debian_live_build_bootappend_live }}" --bootappend-live "{{ debian_live_build_bootappend_live }}"
{% endif %} {% endif %}
{% if debian_live_debian_installer is defined %}
--debian-installer "{{ debian_live_debian_installer }}"
{% endif %}
{% if debian_mirror is defined %}
--mirror-binary "{{ debian_mirror }}"
--mirror-binary-updates "{{ debian_mirror }}"
{% if (debian_backports is defined) and (debian_backports == true) %}
--mirror-binary-backports "{{ debian_mirror }}"
{% endif %}
--mirror-debian-installer "{{ debian_mirror }}"
{% endif %}
{% if debian_security_mirror is defined %}
--mirror-binary-security "{{ debian_security_mirror }}"
{% endif %}
{% if (debian_backports is defined) and (debian_backports == true) %}
--backports true
{% endif %}
{% if debian_components is defined %}
--archive-areas {% debian_components | join(",") %}
{% endif %}

+ 12
- 1
vars/main.yml ファイルの表示

@@ -1,12 +1,23 @@
debian_live_build_common_packages: debian_live_build_common_packages:
- openssh-server - openssh-server
- python - python
- console-setup


# hardware utils # hardware utils
- pciutils - pciutils
- usbutils - usbutils
- acpi - acpi


# hard disk utils
- btrfs-tools
- parted
- mdadm
- cryptsetup
- lvm2

# installation utils
- debootstrap

# admin tools # admin tools
- tmux - tmux
- rsync - rsync
@@ -20,8 +31,8 @@ debian_live_build_common_packages:
- whois - whois
- nmap - nmap
- tcpdump - tcpdump

- dnsutils - dnsutils

# admin tools # admin tools
- tmux - tmux
- rsync - rsync


読み込み中…
キャンセル
保存