summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Spöhel <simon@spoehel.ch>2023-08-28 16:30:29 +0000
committerSimon Spöhel <simon@spoehel.ch>2023-08-28 16:30:29 +0000
commitde50eca1493f80688edbddbae5760bf5daae3fc4 (patch)
tree97cc475baef62b808abb4b55d2c9717511d8fab7
parentEnabling debug output. (diff)
downloadcompute-tools-tmp-cnt-vm.tar.xz
compute-tools-tmp-cnt-vm.zip
vm-test.cfg.tmp-cnt-vm
-rw-r--r--share/doc/examples/vm-test.cfg99
1 files changed, 99 insertions, 0 deletions
diff --git a/share/doc/examples/vm-test.cfg b/share/doc/examples/vm-test.cfg
new file mode 100644
index 0000000..392b09b
--- /dev/null
+++ b/share/doc/examples/vm-test.cfg
@@ -0,0 +1,99 @@
+# Open Infrastructure: compute-tools
+
+# Copyright (C) 2013-2023 Daniel Baumann <daniel@debian.org>
+#
+# SPDX-License-Identifier: GPL-3.0+
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+# Distribution Settings
+compute-tools container/mode select progress-linux
+compute-tools container/distribution select graograman-backports
+compute-tools container/architecture select auto
+compute-tools container/archives multiselect graograman, graograman-security, graograman-updates, graograman-extras, graograman-backports, graograman-backports-extras
+
+# Archive Settings
+compute-tools container/mirror string https://deb.progress-linux.org/packages
+compute-tools container/mirror-security string https://deb.progress-linux.org/packages
+compute-tools container/parent-mirror string https://debian.ethz.ch/debian
+compute-tools container/parent-mirror-security string https://debian.ethz.ch/debian-security
+compute-tools container/archive-areas multiselect main, contrib, non-free, non-free-firmware, restricted
+compute-tools container/parent-archive-areas multiselect main, contrib, non-free, non-free-firmware
+
+# Packages
+#compute-tools container/image string https://get.progress-linux.org/images/bfh/bfh-container_graograman-backports_current.tar.lz
+compute-tools container/packages string
+
+# Users
+compute-tools container/root-password string bfh01
+
+# Network IP configuration
+compute-tools container/network1/bridge string bridge-oob
+compute-tools container/network1/veth string veth-oob-test
+
+compute-tools container/network1/ipv6-method select static
+compute-tools container/network1/ipv6-address string @IPV6_ADDRESS1@
+compute-tools container/network1/ipv6-gateway string 2a07:6b41:15:12::1
+compute-tools container/network1/ipv6-netmask string 64
+
+# Network DNS configuration
+compute-tools container/nameserver/server string 10.0.0.11 2a02:168:ac0d::12 10.0.0.13
+compute-tools container/nameserver/domain string bfh.info
+compute-tools container/nameserver/search string bfh.info
+compute-tools container/nameserver/options string attempts:1 rotate timeout:1 trust-ad
+
+# Internal Options
+compute-tools container/apt-recommends boolean false
+compute-tools container/debconf-frontend select Noninteractive
+compute-tools container/debconf-priority string critical
+compute-tools container/host-command string
+compute-tools container/bind string
+compute-tools container/auto string false
+
+compute-tools container/boot-method string qemu
+compute-tools container/cpu string host -smp cores=2,threads=2
+compute-tools container/memory string 4G
+compute-tools container/display string vnc=:0
+compute-tools container/serial string chardev:char0 -chardev pty,id=char0
+compute-tools container/monitor string chardev=char1,mode=readline -chardev socket,id=char1,server=on,path=/srv/container/vms/vm-test/char1.sock,wait=off
+compute-tools container/firmware string efi
+compute-tools container/drive string file=/srv/container/vms/vm-test/root.img,if=none,id=drive0,format=raw -device virtio-blk-pci,drive=drive0,bootindex=0
+compute-tools container/netdev string tap,id=l1et1,ifname=tap-l1-et1 -device virtio-net,netdev=l1et1,mac=52:54:01:00:00:01
+
+################################################################################
+
+# debconf
+debconf debconf/frontend select Noninteractive
+debconf debconf/priority select critical
+
+# openssh-server
+openssh-server openssh-server/permit-root-login boolean false
+openssh-server openssh-server/password-authentication boolean false
+
+# postfix
+postfix postfix/main_mailer_type select Internet Site
+postfix postfix/mailname string @NAME@
+postfix postfix/destinations string @NAME@, localhost
+postfix postfix/root_address string bfh-linux-systems@lists.bfh.science
+
+# powerline
+powerline powerline/enable multiselect bash
+
+# tzdata
+tzdata tzdata/Areas select Europe
+tzdata tzdata/Zones/Etc select UTC
+tzdata tzdata/Zones/Europe select Zurich
+
+# grub-efi-amd64
+grub-efi-amd64 grub2/force_efi_extra_removable boolean true