Skip to content

Commit 1e2e42f

Browse files
committed
add more variables to config
1 parent ae7814e commit 1e2e42f

File tree

1 file changed

+38
-11
lines changed

1 file changed

+38
-11
lines changed

00-config.sh

+38-11
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ NFS_SERVER="192.168.122.1"
3232
# Array with lines to add to /etc/fstab, e.g. private overlays
3333
FSTAB_ADDON_LINES=(
3434
"# mount my overlay"
35-
"192.168.122.1:/var/lib/layman/md-private /var/db/repos/md-private nfs defaults 0 0"
35+
"192.168.122.1:/var/db/repos/my-overlay/ /var/db/repos/my-overlay nfs defaults 0 0"
3636
)
3737

3838
# @VARIABLE: FSTAB_ADDON_DIRS
@@ -51,29 +51,56 @@ DISK_SIZE=20G
5151
# which locale should be set in the virtual machine
5252
VM_LOCALE="de_DE.utf8"
5353

54+
# @VARIABLE: VM_KEYBOARD_KEYMAP
55+
# @DESCRIPTION:
56+
# Name of the Keymap that should be set in the virtual machine
57+
VM_KEYBOARD_KEYMAP="de-latin1-nodeadkeys"
58+
59+
# @VARIABLE: VM_TIMEZONE
60+
# @DESCRIPTION:
61+
# Name of the timezone that should be set in the virtual machine
62+
VM_TIMEZONE="Europe/Berlin"
63+
5464
# @VARIABLE: REPO_SQUASHFS
5565
# @DESCRIPTION:
5666
# Wnen set to yes, the portage tree will be put as squashfs image into the disk image
5767
# (and then mounted r/o)
5868
# In all other cases, the portage tree will be copied
5969
REPO_SQUASHFS="yes"
6070

61-
# @VARIABLE:
71+
# @VARIABLE: ADD_OVERLAYS_LIST
72+
# @DESCRIPTION:
73+
# List of overlay names. The content of all overlays listed here will be trans-
74+
# ferred into the image. The location of the overlay directory is read from
75+
# /etc/layman/layman.cfg
76+
# Note: for images that contain "musl" in the name, the "musl" overlay is auto-
77+
# matically added.
78+
# Overlays in the list, that are currently not found on the base system, will be
79+
# automatically added and set to the disabled state
80+
# (disabled overlays are synced but not recognized by portage)
81+
ADD_OVERLAYS_LIST=""
82+
#ADD_OVERLAYS_LIST="vdr-devel"
83+
84+
# @VARIABLE: ADD_SSH_PUBKEYS
6285
# @DESCRIPTION:
63-
#
86+
# Array of ssh public keys to add to /root/.ssh/authorized_keys
87+
ADD_SSH_PUBKEYS=(
88+
"#comment 1"
89+
"ssh-rsa <our ssh key here>"
90+
"#comment 2" )
6491

65-
# @VARIABLE:
92+
# @VARIABLE:
6693
# @DESCRIPTION:
67-
#
94+
#
6895

69-
# @VARIABLE:
96+
# @VARIABLE:
7097
# @DESCRIPTION:
71-
#
98+
#
7299

73-
# @VARIABLE:
100+
# @VARIABLE:
74101
# @DESCRIPTION:
75-
#
102+
#
76103

77-
# @VARIABLE:
104+
# @VARIABLE:
78105
# @DESCRIPTION:
79-
#
106+
#

0 commit comments

Comments
 (0)