Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1510007 Details for
Bug 1654880
pykickstart.errors.KickstartError: /usr/sbin/authconfig is missing. Cannot setup authentication.
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
File: ks.cfg
ks.cfg (text/plain), 5.18 KB, created by
Jan Gerrit Kootstra
on 2018-11-29 22:57:54 UTC
(
hide
)
Description:
File: ks.cfg
Filename:
MIME Type:
Creator:
Jan Gerrit Kootstra
Created:
2018-11-29 22:57:54 UTC
Size:
5.18 KB
patch
obsolete
> > > >install > >url --url http://satellite.internal.kootstra.co.uk/pulp/repos/Default_Organization/Pre-development/cv-RHEL8-beta/content/beta/rhel8/8/x86_64/baseos/kickstart/ > >lang en_US.UTF-8 >selinux --enforcing >keyboard us >skipx > > >network --bootproto dhcp --hostname rhel8beta-dev.internal.kootstra.co.uk --device=52:54:00:e2:fe:6b ><auto-removed line containing rootpw> >firewall --service=ssh >authconfig --useshadow --passalgo=SHA256 --kickstart >timezone --utc UTC >services --disabled gpm,sendmail,cups,pcmcia,isdn,rawdevices,hpoj,bluetooth,openibd,avahi-daemon,avahi-dnsconfd,hidd,hplip,pcscd > > > > >bootloader --location=mbr --append="nofb quiet splash=quiet" > > >zerombr >clearpart --all --initlabel >autopart > > >text >reboot > >%packages >yum >dhclient >ntp >wget >@Core >redhat-lsb-core > >%end > >%post --nochroot >exec < /dev/tty3 > /dev/tty3 >#changing to VT 3 so that we can see whats going on.... >/usr/bin/chvt 3 >( >cp -va /etc/resolv.conf /mnt/sysimage/etc/resolv.conf >/usr/bin/chvt 1 >) 2>&1 | tee /mnt/sysimage/root/install.postnochroot.log >%end >%post >logger "Starting anaconda rhel8beta-dev.internal.kootstra.co.uk postinstall" >exec < /dev/tty3 > /dev/tty3 >#changing to VT 3 so that we can see whats going on.... >/usr/bin/chvt 3 >( > > > > ># interface >real=`grep -l 52:54:00:e2:fe:6b /sys/class/net/*/{bonding_slave/perm_hwaddr,address} 2>/dev/null | awk -F '/' '// {print $5}' | head -1` >sanitized_real=`echo $real | sed s/:/_/` > > >cat << EOF > /etc/sysconfig/network-scripts/ifcfg-$sanitized_real >BOOTPROTO="dhcp" >DOMAIN="internal.kootstra.co.uk" >DEVICE=$real >HWADDR="52:54:00:e2:fe:6b" >ONBOOT=yes >PEERDNS=yes >PEERROUTES=yes >DEFROUTE=yes >MTU=1500 >EOF > > > >#update local time >echo "updating system time" >/usr/sbin/ntpdate -sub 0.fedora.pool.ntp.org >/usr/sbin/hwclock --systohc > > > > > > > > > > > > > ># update all the base packages from the updates repository >if [ -f /usr/bin/dnf ]; then > dnf -y update >else > yum -t -y update >fi > > ># SSH keys setup snippet for Remote Execution plugin ># ># Parameters: ># ># remote_execution_ssh_keys: public keys to be put in ~/.ssh/authorized_keys ># ># remote_execution_ssh_user: user for which remote_execution_ssh_keys will be ># authorized ># ># remote_execution_create_user: create user if it not already existing ># ># remote_execution_effective_user_method: method to switch from ssh user to ># effective user ># ># This template sets up SSH keys in any host so that as long as your public ># SSH key is in remote_execution_ssh_keys, you can SSH into a host. This only ># works in combination with Remote Execution plugin. > ># The Remote Execution plugin queries smart proxies to build the ># remote_execution_ssh_keys array which is then made available to this template ># via the host's parameters. There is currently no way of supplying this ># parameter manually. ># See http://projects.theforeman.org/issues/16107 for details. > > > > >user_exists=false >getent passwd root >/dev/null 2>&1 && user_exists=true > > >if $user_exists; then > > > mkdir -p ~root/.ssh > > cat << EOF >> ~root/.ssh/authorized_keys >ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDA5odVqNC6Vt83R7H1f7+p7fUiU1eGNhzGi7pmBGAJu9FUIzEc0U+DvgNVpF4JLOQLpMKZXLcTYqVaSme1TYt0qYX508+rMQOYPwbqTGwxAZnlw9v2HQMCqZROxWhZm9TRZ+lBHH+L46XfZ/Z/0aVAGvHdN1bUW3I5Lz+vQZcSjyNGaOWmILSnNzIz0KonvgKNPj3YfE88nKxNWDCNjeg5pZsEm4r8jQgCarLMVerOozGT+Oxfd3oxMAmD5+20jIyfaeS+kA79A+h3WqsMhCWgGcR4OQPKSlUrqlJXhFLq2jVjvfaKpskvogxCak5PDKEZElI+Ffm2WztzWOdri73R foreman-proxy@satellite.internal.kootstra.co.uk >EOF > > chmod 0700 ~root/.ssh > chmod 0600 ~root/.ssh/authorized_keys > chown -R root: ~root/.ssh > > # Restore SELinux context with restorecon, if it's available: > command -v restorecon && restorecon -RvF ~root/.ssh || true > >else > echo 'The remote_execution_ssh_user does not exist and remote_execution_create_user is not set to true. remote_execution_ssh_keys snippet will not install keys' >fi > > > > > > > > >if [ -f /usr/bin/dnf ]; then > dnf -y install puppet-agent >else > yum -t -y install puppet-agent >fi > >cat > /etc/puppetlabs/puppet/puppet.conf << EOF > > >[main] >vardir = /opt/puppetlabs/puppet/cache >logdir = /var/log/puppetlabs/puppet >rundir = /var/run/puppetlabs >ssldir = /etc/puppetlabs/puppet/ssl > >[agent] >pluginsync = true >report = true >ignoreschedules = true >ca_server = satellite.internal.kootstra.co.uk >certname = rhel8beta-dev.internal.kootstra.co.uk >environment = development >server = satellite.internal.kootstra.co.uk > >EOF > >puppet_unit=puppet >/usr/bin/systemctl list-unit-files | grep -q puppetagent && puppet_unit=puppetagent >/usr/bin/systemctl enable ${puppet_unit} > ># export a custom fact called 'is_installer' to allow detection of the installer environment in Puppet modules >export FACTER_is_installer=true ># passing a non-existent tag like "no_such_tag" to the puppet agent only initializes the node >/opt/puppetlabs/bin/puppet agent --config /etc/puppetlabs/puppet/puppet.conf --onetime --tags no_such_tag --server satellite.internal.kootstra.co.uk --no-daemonize > > > > > > >sync > ># Inform the build system that we are done. >echo "Informing Foreman that we are built" >wget -q -O /dev/null --no-check-certificate http://satellite.internal.kootstra.co.uk/unattended/built?token=cb4f34f9-e3d1-46b0-96d3-94417d0e93e2 >) 2>&1 | tee /root/install.post.log >exit 0 > >%end
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1654880
:
1510001
|
1510002
|
1510003
|
1510004
|
1510005
|
1510006
| 1510007 |
1510008
|
1510009
|
1510010
|
1510011
|
1510012
|
1510013
|
1510014
|
1510015
|
1510016
|
1510017