Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marcus.schaefer:EOS
eos-setup-base
_service:obs_scm:eos-setup-base-1.1.1.obscpio
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:eos-setup-base-1.1.1.obscpio of Package eos-setup-base
07070100000000000041ED0000000000000000000000046639E99700000000000000000000000000000000000000000000002400000000eos-setup-base-1.1.1/eos-setup-base07070100000001000081A40000000000000000000000016639E9970000057C000000000000000000000000000000000000002C00000000eos-setup-base-1.1.1/eos-setup-base.changes------------------------------------------------------------------- Mon Nov 20 08:52:27 UTC 2023 - Marcus Schäfer <marcus.schaefer@gmail.com> - provide extra package for ssh setup and keys ------------------------------------------------------------------- Sat Nov 18 16:27:09 UTC 2023 - Marcus Schäfer <marcus.schaefer@gmail.com> - journal logging volatile ------------------------------------------------------------------- Fri Nov 17 15:17:38 UTC 2023 - Marcus Schäfer <marcus.schaefer@gmail.com> - delete alias files ------------------------------------------------------------------- Sun Nov 12 10:24:52 UTC 2023 - Marcus Schäfer <marcus.schaefer@gmail.com> - auto login only on VM ------------------------------------------------------------------- Sun Nov 12 10:05:24 UTC 2023 - Marcus Schäfer <marcus.schaefer@gmail.com> - eos-setup-base-rpi ------------------------------------------------------------------- Wed Nov 1 17:43:00 UTC 2023 - Marcus Schäfer <marcus.schaefer@gmail.com> - fixed sudo setup for ec2 ------------------------------------------------------------------- Mon Oct 30 13:34:40 UTC 2023 - Marcus Schäfer <marcus.schaefer@gmail.com> - EOS-Automotive has been renamed to just EOS, update alias files ------------------------------------------------------------------- Thu Oct 19 08:54:05 UTC 2023 - Marcus Schäfer <marcus.schaefer@gmail.com> - kickoff 07070100000002000081A40000000000000000000000016639E99700000CF3000000000000000000000000000000000000002900000000eos-setup-base-1.1.1/eos-setup-base.spec# # spec file for package eos-setup-base # # Copyright (c) 2022 SUE Linux Products GmbH. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Name: eos-setup-base Version: 1.1.1 Release: 0 License: MIT Summary: EOS - base setup Group: System/Management Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rsync BuildArch: noarch %description Provides base setup for EOS %package -n eos-setup-base-vm Summary: EOS - base setup VM %description -n eos-setup-base-vm Provides base setup for EOS VM %package -n eos-setup-base-ec2 Summary: EOS - base setup EC2 %description -n eos-setup-base-ec2 Provides base setup for EOS EC2 %package -n eos-setup-base-rpi Summary: EOS - base setup RPI %description -n eos-setup-base-rpi Provides base setup for EOS RPI %package -n eos-setup-base-ssh Summary: EOS - base setup ssh %description -n eos-setup-base-ssh Provides ssh setup for EOS %package -n eos-setup-base-ssh-keys Summary: EOS - base ssh keys %description -n eos-setup-base-ssh-keys Provides ssh pub keys %prep %setup -q %install rsync -av eos-setup-base/* %{buildroot}/ mkdir -p %{buildroot}/var/lib/systemd/linger %files %defattr(-,root,root) %dir /var/lib/systemd %dir /var/lib/systemd/linger %dir /etc/containers %dir /etc/systemd %dir /etc/systemd/network %dir /etc/systemd/system %dir /etc/systemd/system/serial-getty@ttyS0.service.d %dir /etc/udev %dir /etc/udev/rules.d %dir /etc/systemd/journald.conf.d %dir /etc/systemd/timesyncd.conf.d %config /etc/fstab.script %config /etc/systemd/journald.conf.d/journald.conf %config /etc/systemd/timesyncd.conf.d/timesyncd.conf %config /etc/systemd/network/20-local.network %config /etc/containers/containers.conf %config /etc/udev/rules.d/70-persistent-net.rules %config /etc/modprobe.d/40-i2c.conf %files -n eos-setup-base-ssh %defattr(-,root,root) %dir /etc/ssh %dir /etc/ssh/sshd_config.d %config /etc/ssh/sshd_config.d/10-root-login.conf %files -n eos-setup-base-ssh-keys %defattr(-,root,root) %dir %attr(0700, root, root) /root/.ssh /root/.ssh/authorized_keys %files -n eos-setup-base-rpi %defattr(-,root,root) %files -n eos-setup-base-vm %defattr(-,root,root) %config /etc/systemd/system/serial-getty@ttyS0.service.d/override.conf %files -n eos-setup-base-ec2 %defattr(-,root,root) %dir %attr(0750, root, root) /etc/sudoers.d %dir /etc/cloud %dir /etc/cloud/cloud.cfg.d %dir /etc/dracut.conf.d %config /etc/cloud/cloud.cfg.d/cloud.cfg %config /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg %config /etc/dracut.conf.d/07-aws-type-switch.conf %config /etc/udev/rules.d/69-nvme-timeout.rules %config /etc/modprobe.d/50-nvme.conf %config %attr(0440, root, root) /etc/sudoers.d/ec2 %changelog 07070100000003000041ED00000000000000000000000A6639E99700000000000000000000000000000000000000000000002800000000eos-setup-base-1.1.1/eos-setup-base/etc07070100000004000041ED0000000000000000000000036639E99700000000000000000000000000000000000000000000002E00000000eos-setup-base-1.1.1/eos-setup-base/etc/cloud07070100000005000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000003A00000000eos-setup-base-1.1.1/eos-setup-base/etc/cloud/cloud.cfg.d07070100000006000081A40000000000000000000000016639E99700000079000000000000000000000000000000000000005800000000eos-setup-base-1.1.1/eos-setup-base/etc/cloud/cloud.cfg.d/99-disable-network-config.cfg# Disable cloud-init networking # Network handeled by default ifcfg-eth0 and cloud-netconfig network: {config: disabled} 07070100000007000081A40000000000000000000000016639E997000005C9000000000000000000000000000000000000004400000000eos-setup-base-1.1.1/eos-setup-base/etc/cloud/cloud.cfg.d/cloud.cfg# Adapted default config for (open)SUSE systems users: - default #disable_root: true preserve_hostname: false #syslog_fix_perms: root:root datasource_list: [ Ec2 ] # The modules that run in the 'init' stage #cloud_init_modules: # - migrator # - bootcmd # - write-files # - growpart # - resizefs # - set_hostname # - update_hostname # - update_etc_hosts # - ca-certs # - rsyslog # - users-groups # - ssh cloud_init_modules: - ssh # The modules that run in the 'config' stage #cloud_config_modules: # - mounts # - ssh-import-id # - locale # - set-passwords # - timezone # - puppet # - chef # - salt-minion # - mcollective # - disable-ec2-metadata # - runcmd # - byobu cloud_config_modules: - mounts - ssh-import-id # The modules that run in the 'final' stage #cloud_final_modules: # - package-update-upgrade-install # - rightscale_userdata # - scripts-per-once # - scripts-per-boot # - scripts-per-instance # - scripts-user # - ssh-authkey-fingerprints # - keys-to-console # - phone-home # - final-message # - power-state-change cloud_final_modules: - ssh-authkey-fingerprints # System and/or distro specific settings system_info: # Default user name + that default users groups (if added/used) default_user: name: ec2-user gecos: "cloud-init created default user" lock_passwd: True sudo: ["ALL=(ALL) NOPASSWD:ALL"] shell: /bin/bash paths: cloud_dir: /var/lib/cloud/ templates_dir: /etc/cloud/templates/ ssh_svcname: sshd 07070100000008000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000003300000000eos-setup-base-1.1.1/eos-setup-base/etc/containers07070100000009000081A40000000000000000000000016639E99700000023000000000000000000000000000000000000004300000000eos-setup-base-1.1.1/eos-setup-base/etc/containers/containers.conf[containers] cgroups = "no-conmon" 0707010000000A000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000003600000000eos-setup-base-1.1.1/eos-setup-base/etc/dracut.conf.d0707010000000B000081A40000000000000000000000016639E99700000046000000000000000000000000000000000000004E00000000eos-setup-base-1.1.1/eos-setup-base/etc/dracut.conf.d/07-aws-type-switch.confadd_drivers+=" ena ext4 nvme nvme-core xen-blkfront xen-netfront xfs" 0707010000000C000081ED0000000000000000000000016639E99700000389000000000000000000000000000000000000003500000000eos-setup-base-1.1.1/eos-setup-base/etc/fstab.script#/bin/ash set -ex cp /etc/fstab /etc/fstab.orig # delete container registry mounts, done by registry.service head -n -1 /etc/fstab > /etc/fstab.new # add tmpfs mounts echo "tmpfs /tmp tmpfs defaults 0 0" >> /etc/fstab.new echo "tmpfs /var/tmp tmpfs defaults 0 0" >> /etc/fstab.new echo "tmpfs /var/log tmpfs defaults 0 0" >> /etc/fstab.new echo "tmpfs /var/lib/cni tmpfs defaults 0 0" >> /etc/fstab.new echo "tmpfs /etc/cni/net.d tmpfs defaults 0 0" >> /etc/fstab.new echo "tmpfs /var/cache/containers tmpfs defaults 0 0" >> /etc/fstab.new echo "tmpfs /var/lib/private/systemd/timesync tmpfs defaults 0 0" >> /etc/fstab.new echo "tmpfs /var/lib/systemd/timesync tmpfs defaults 0 0" >> /etc/fstab.new echo "tmpfs /var/lib/systemd/linger tmpfs defaults 0 0" >> /etc/fstab.new # for emulated TPM v1.2 (tcsd) # echo "tmpfs /var/lib/tpm tmpfs defaults 0 0" >> /etc/fstab.new mv /etc/fstab.new /etc/fstab 0707010000000D000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000003300000000eos-setup-base-1.1.1/eos-setup-base/etc/modprobe.d0707010000000E000081A40000000000000000000000016639E9970000002B000000000000000000000000000000000000003F00000000eos-setup-base-1.1.1/eos-setup-base/etc/modprobe.d/40-i2c.confinstall module_name /sbin/modprobe i2c-dev 0707010000000F000081A40000000000000000000000016639E997000000E0000000000000000000000000000000000000004000000000eos-setup-base-1.1.1/eos-setup-base/etc/modprobe.d/50-nvme.conf# Default NVMe timeouts are insufficient to guarantee reliable operation # In testing this didn't work set the timeouts on the command line # This is a backup options nvme_core admin_timeout=4294967295 io_timeout=4294967295 07070100000010000041ED0000000000000000000000036639E99700000000000000000000000000000000000000000000002C00000000eos-setup-base-1.1.1/eos-setup-base/etc/ssh07070100000011000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000003A00000000eos-setup-base-1.1.1/eos-setup-base/etc/ssh/sshd_config.d07070100000012000081A40000000000000000000000016639E99700000014000000000000000000000000000000000000004D00000000eos-setup-base-1.1.1/eos-setup-base/etc/ssh/sshd_config.d/10-root-login.confPermitRootLogin yes 07070100000013000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000003200000000eos-setup-base-1.1.1/eos-setup-base/etc/sudoers.d07070100000014000081A40000000000000000000000016639E9970000026B000000000000000000000000000000000000003600000000eos-setup-base-1.1.1/eos-setup-base/etc/sudoers.d/ec2Defaults always_set_home Defaults secure_path="/usr/sbin:/usr/bin:/sbin:/bin" Defaults env_reset Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_ATIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE" Defaults !insults Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" Defaults targetpw # ask for the password of the target user i.e. root ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'! root ALL=(ALL) ALL ec2-user ALL=(ALL) NOPASSWD: ALL 07070100000015000041ED0000000000000000000000066639E99700000000000000000000000000000000000000000000003000000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd07070100000016000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000004000000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd/journald.conf.d07070100000017000081A40000000000000000000000016639E9970000002E000000000000000000000000000000000000004E00000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd/journald.conf.d/journald.conf[Journal] Storage=volatile ForwardToSyslog=no 07070100000018000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000003800000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd/network07070100000019000081A40000000000000000000000016639E99700000043000000000000000000000000000000000000004900000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd/network/20-local.network[Match] Name=lan0 [Network] DHCP=yes [DHCP] ClientIdentifier=mac 0707010000001A000041ED0000000000000000000000036639E99700000000000000000000000000000000000000000000003700000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd/system0707010000001B000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000005400000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd/system/serial-getty@ttyS0.service.d0707010000001C000081A40000000000000000000000016639E99700000076000000000000000000000000000000000000006200000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd/system/serial-getty@ttyS0.service.d/override.conf[Service] ExecStart= ExecStart=-/usr/sbin/agetty --autologin root --noclear --keep-baud 115200,38400,9600 ttyS0 $TERM 0707010000001D000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000004100000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd/timesyncd.conf.d0707010000001E000081A40000000000000000000000016639E99700000091000000000000000000000000000000000000005000000000eos-setup-base-1.1.1/eos-setup-base/etc/systemd/timesyncd.conf.d/timesyncd.conf[Time] NTP=0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org FallbackNTP=time1.google.com time2.google.com time3.google.com time4.google.com 0707010000001F000041ED0000000000000000000000036639E99700000000000000000000000000000000000000000000002D00000000eos-setup-base-1.1.1/eos-setup-base/etc/udev07070100000020000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000003500000000eos-setup-base-1.1.1/eos-setup-base/etc/udev/rules.d07070100000021000081A40000000000000000000000016639E99700000084000000000000000000000000000000000000004B00000000eos-setup-base-1.1.1/eos-setup-base/etc/udev/rules.d/69-nvme-timeout.rulesKERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{model}=="Amazon EC2 NVMe Instance Storage", ATTR{queue/io_timeout}="30000" 07070100000022000081A40000000000000000000000016639E99700000085000000000000000000000000000000000000004D00000000eos-setup-base-1.1.1/eos-setup-base/etc/udev/rules.d/70-persistent-net.rulesSUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="?*", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="?*", NAME="lan0" 07070100000023000041ED0000000000000000000000036639E99700000000000000000000000000000000000000000000002900000000eos-setup-base-1.1.1/eos-setup-base/root07070100000024000041ED0000000000000000000000026639E99700000000000000000000000000000000000000000000002E00000000eos-setup-base-1.1.1/eos-setup-base/root/.ssh07070100000025000081A40000000000000000000000016639E997000002DE000000000000000000000000000000000000003E00000000eos-setup-base-1.1.1/eos-setup-base/root/.ssh/authorized_keysssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCScjQeglkF5bOr7kYMC7oJMLNnK6zt+U1LBVbDjP5SssqpoK1gu5Zf2NhHlk2cjxyp0pdLynxPzm1y8WLIN2awhmun2xKA1mH9hCTCq1aNcz+jCyWBor2IMQC8Z5x3hNruOwui1yzkb15grK8oAFqaeKl3JQkGjHMVzS1aM+WQ1Y8QwbWL2B8oE0l/M9LX2XG0IB3Y8DhKoclZoWdqicajX3zXo2PSh63VREIPl6rnbj1ZKrJlMm/l9ElN88cKrp/JUse7pmcJRAy/U7c7BNsNWPnH6PT6EwEmjYAQzwTJblu+KC3UVuX19IJ7VDQSP1i68B6fY1VUaVIwEj8UEEipe9WGJyeIaJ2gS/DM+kpcB8v4zi7mm0L9puSOvcH1gG/Gk41v6B1R5Bv1qAxLQBga4oXhP66p3Zkc6rA873v8pZ8WW61O39cmQNhU8LH+c1pnPRCTVp7/Q19HKS0qzH+WFFTyobYek/oo5u4yfNb7GcrqB0/WcfxxcyE+EH+vzNNREKIC4B6HkoHqBwQZqQyEPv/vR/r4x7jBKTAaDxKhwQqgpMCMKn/OI3SuucsG7jjMPD9rAbgFfwG3ItBsDJjlRrrpD+9X9IYBq1VrArHeBsxkGKFN4NCDJPo85fquKmgNkLuczldOiUw5u/C4zz77wxWn3IgGFImCgiR0KmTY+w== ms@linux 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000B00000000TRAILER!!!32 blocks
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor