Re: opsibian-gen - Raspberry Pi Image Generator mit eingebautem opsi 4.1 und mehr...
Verfasst: 30 Jul 2021, 18:54
wie war das password für den pi login?
opsi support forum
https://forum.opsi.org/
Code: Alles auswählen
# Remove user/password data from this file after
# first reconfiguration is done
#
# note: if you let the routine remove these parameters from the file
# you SHOULD NOT re-activate configure options which need them,
# read information below before setting this to 1
REMOVE_CONFIDENTIAL=0
CONFIDENTIAL="REGISTRATION_USER REGISTRATION_PASS OPSI_ADMIN OPSI_PASS PCPATCHPASS"
# -------------------------------------------------------------------
# full qualified hostname of the machine
# HOSTFQDN will also be used to /usr/sbin/set_hosts_fqdn.sh
# note: HOSTFQDN musst be the correct fqdn hostname
HOSTFQDN=s-net-srv-005.fritz.box
# -------------------------------------------------------------------
# configure network options and hostname
# reconfiguration will reboot machine
# note: IFACE should not be changed unless you are ABSOLUTELY sure
#
# set to 1 to activate
CONFIGURE_NETWORK=1
DHCP=0
# not used if DHCP=1
# note: NETMASK can be long format (255.255.254.0) or short (23)
IP=192.168.11.19
NETMASK=255.255.255.0
GATEWAY=192.168.11.10
IFACE=eth0
# -------------------------------------------------------------------
# Run var2usb.sh script
# You can move /var to an external USB device. This will reduce
# write operations to the SD card significantly.
# To do so:
# - use an (empty) USB stick, FAT32 formatted
# - put an empty file named "var.marker" in the root of the USB stick
# make sure the filename is all lower case
# - put the stick in one of the four USB ports of the RPi and reboot
# The system will reboot, if everything went well and auto-activate
# the new external mountpoint. If you want to revert /var back to the
# root device, simply re-run /usr/sbin/var2usb.sh
#
# note: USB sticks without "var.marker" file in the root will not be
# touched
# note: you can re-run this script as root anytime later if you
# decide to activate this feature later
# set to 1 to activate
MOVE_VAR_TO_USB=0
# -------------------------------------------------------------------
# generate different opsi admin user - standard is "opsiadm" with pass "opsipass"
# note: this will NOT reconfigure the MySQL DB connection
# MySQL standards:
# root pass: "linux123"
# DB "opsi": user "opsi" and pass "opsi"
# if you want to change MySQL root pass, you have to do it manually later
# or rebuild the image and set a different user/password combination
# in the opsibian-gen build config file
# set to 1 to activate
CONFIGURE_OPSI_ADMIN=1
# opsi admin user
# note: this user will also be used in the next step [CONFIGURE_OPSI_SERVER]
OPSI_ADMIN=adminuser
OPSI_PASS=D4n63rous!
# -------------------------------------------------------------------
# opsi server configuration
# note: this step will reboot the server after reconfiguration
# so that it should be accessible via SSH and its new namw
# set to 1 to activate
CONFIGURE_OPSI_SERVER=1
UNIT="IT"
COUNTRY="DE"
ORGANIZATION="IT/EDV Support David Ölke"
EMAIL="it.edv.david.oelke@gmail.com"
LOCALITY="Deutschland"
STATE="SA"
# password for user pcpatch
PCPATCHPASS=D4n63rous
# -------------------------------------------------------------------
# depot registration data
# register as depot at config server
# note: SYNC_KNOWN_PACKAGES_FROM_CONFIGSRV reloads all packages that
# are supposed to be on this depot, useful in case of reinsstallation
# of depot server
# REGISTRATION_USER/_PASS and CONFIGSRV have to be set correctly
# watch resynchronization on tty2 (Alt-F2)
# BEWARE: files will be synched from MASTERDEPOT - see below in section
# package updater conf data, but use the same user and password
# set to 1 to activate
REGISTER_AS_DEPOT=0
DESC="Depotserver"
CONFIGSRV=
REGISTRATION_USER=FIRST_USER_NAME
REGISTRATION_PASS=FIRST_USER_PASS
SYNC_KNOWN_PACKAGES_FROM_CONFIGSRV=1
# -------------------------------------------------------------------
# fetch /etc/opsi/modules from config server
# you need to set REGISTRATION_USER and REGISTRATION_PASS for this
# note: SET_MYSQL_BACKEND will only work with a valid modules file
# note: parameter REGISTRATION_USER/_PASS and CONFIGSRV
# has to be set correctly
# set to 1 to activate
GET_MODULES_FROM_CFG_SRV=0
# -------------------------------------------------------------------
# set mysql as data backend
# you need to set REGISTRATION_USER and REGISTRATION_PASS for this
# note: SET_MYSQL_BACKEND will only work with a valid modules file
# note: if machine is registered as depot, nothing will happen
# OVERWRITE_ACTIVE_BACKEND can deactivate this behaviour (CAUTION)
# set to 1 to activate
SET_MYSQL_AS_BACKEND=1
OVERWRITE_ACTIVE_BACKEND=0
# -------------------------------------------------------------------
# enable opsi-tftp-hpa service
# disabled by default
# set to 1 to activate
ENABLE_OPSI_TFTP_SERVICE=0
# -------------------------------------------------------------------
# package updater conf data
# sync ALL packages from master repository
# this will in fact create a new opsi-package-updater config
# and deactivate the default ones
# note regarding CRONTIME:
# - set time as: "m h dom mon dow"
# -> Example: CRONTIME="0 4 * * 1-5"
# -> means: 4 o'clock, Monday to Friday
# - set to "" to remove cron
# - For more information see the manual pages of crontab(5) and cron(8)
# set to 1 to activate
SYNC_FROM_MASTER=0
# master repository, ignored if SYNC_FROM_MASTER=0
MASTERDEPOT=
AUTOINSTALL=false
AUTOUPDATE=false
AUTOSETUP=false
INHERIT_PP=true
SYNC_ACTIVE=false
# set in /etc/cron.d/opsi-package-updater, running as root
CRONTIME=""
# -------------------------------------------------------------------
# Configure NTP
# NTP sync is done via call to ntpdate in /etc/rc.local
# set to 1 to activate
CONFIGURE_NTP_SYNC_ON_BOOT=1
NTP_SERVER=192.168.11.10
# -------------------------------------------------------------------
# Postfix Mailer Satellite relay configuration
# set to 1 to activate
CONFIGURE_MAIL_OPTIONS=0
NOTIFY_SENDER="opsiadm@localhost"
NOTIFY_RECEIVER="root@localhost"
SMTPRELAY="my.smtp.relay"
SMTPPORT=25
MAILDOM=domain.local
NOTIFY_ACTIVE=false
# -------------------------------------------------------------------
# Mail on reboot option
# see: /usr/sbin/reboot_notifier.sh
# set to 1 to activate
SEND_REBOOT_NOTIFICATION=0