]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - release/tools/basic-ci.conf
Optionally bind ktls threads to NUMA domains
[FreeBSD/FreeBSD.git] / release / tools / basic-ci.conf
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # Should be enough for base image, image can be resized in needed
7 export VMSIZE=5G
8
9 # Set to a list of third-party software to enable in rc.conf(5).
10 export VM_RC_LIST="sshd growfs"
11
12 vm_extra_pre_umount() {
13         cat << EOF >> ${DESTDIR}/etc/rc.conf
14 dumpdev="AUTO"
15 ifconfig_DEFAULT="DHCP"
16 sshd_enable="YES"
17 EOF
18
19         cat << EOF >> ${DESTDIR}/boot/loader.conf
20 autoboot_delay="-1"
21 beastie_disable="YES"
22 loader_logo="none"
23 console="comconsole,vidconsole"
24 EOF
25     cat <<EOF >> ${DESTDIR}/etc/ssh/sshd_config
26 PermitRootLogin yes
27 PasswordAuthentication yes
28 PermitEmptyPasswords yes
29 UsePAM no
30 EOF
31
32         touch ${DESTDIR}/firstboot
33
34         return 0
35 }