flossware / cobbler Goto Github PK
View Code? Open in Web Editor NEWRepository of Cobbler related functionality.
License: Other
Repository of Cobbler related functionality.
License: Other
Noting with Fedora 31, it appears that root login is not supported via ssh. The following is required in /etc/ssh/sshd_config
:
PermitRootLogin yes
Need the ability to affect change to the aforementioned file.
My cobbler server is 192.168.29.100. If the client is also in the VLAN of 29, the boot is normal. If the client is on another network segment, it will report pxe-11arp timeout PXE-E38: TFTP cannot open connection
What configuration files need to be changed?
My cobbler server is 192.168.29.100. If the client is also in the VLAN of 29, the boot is normal. If the client is on another network segment, it will report pxe-11arp timeout PXE-E38: TFTP cannot open connection
What configuration files need to be changed?
Allow for the user to defined their own post section work.
#if $os_version.startswith('fedora')
#set $operatingSystem = 'fedora'
#else if $os_version.startswith('rhel')
#set $operatingSystem = 'rhel'
#end if
The wiki shows how to manually install. While this is good information, a script to do the needful is much more useful. Specifically the README.md has this:
Clone this git repo and:
/var/lib/cobbler/kickstarts
./var/lib/cobbler/snippets/flossware
directory./var/lib/cobbler/snippets/flossware
.We should provide a bash script that can do the aforementioned.
If one provides params for clearpart, extra dashes are added:
ksmeta='clearpart="--all --initlababel --drives=sda'"
Yields:
ksmeta='clearpart="----all --initlababel --drives=sda'"
This may be a problem across all options.
Fedora seems to short-change the full size of disk when automating installations. To work around it, one must manually execute:
lvextend -l +100%FREE /dev/[host name]/root -r
We need the ability to do this as part of a kickstart in the %post area.
This:
## Copyright (C) 2016 flossware
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
We can simplify some of our logic simply by using Cheetah defs and creating "functions". We may want to reconsider the whole modules directory in favor of defs themselves.
We need a way automatically compute LVM disks. We can determine which disks by looking at /sys/block/sd[a-z]
Look here for examples.
All variables should be preceeded with $ per the Cheetah docs
Need a post install snippet to run ansible-pull for provisioning.
This won't work: #set $allLvmDisks = $getVar('lvmDisks', '') != '' and $getVar('lvmDisks').split(',').split(' ') or []
because the first comma split (if there are commas) turns the string into an array.
Also, / and swap are duplicated when we use LVM. We need to fix that and move these to snippets/modules/disk_partition_types/standard
:
#set global $part = "/ " + ( $getVar('root', '') != '' and $getVar('root') or '--fstype="xfs" --size=1024 --recommended --grow')
$SNIPPET('flossware/options/part')
#set global $part = "swap " + ($getVar('swap', '') != '' and $getVar('part_swap') or '--fstype="swap" --recommended')
$SNIPPET('flossware/options/part')
Appears the Atomic snippets are being duplicated in the resultant kickstart. Probably some double call to the common module.
When using KOAN to install Fedora 23 Atomic, when it gets to this in the install:
Starting pull of fedora-atomic/f23/x86_64/docker-host from fedora-atomic
A dialog box is presented denoting a fatal error:
Failed to pull from repository: g-io-error-quart: //run/install/repo/content/repo: open: No such file or directory (1)
Our system.ks
is way to convoluted and should be refactored to be snippets. The system.ks
should include the snippets.
For this to work:
It probably makes little sense to have a generic atomic_kickstart
and common_kickstart
snippets when we already have both module types.
Allow for the user to define pre work.
Fix the README.md
Need:
Remove it
We need to ensure all sections support options and that those are denoted correctly. For example we need to provide a pre
option like: %pre $getVar('pre', '')
. Also we initially were using [section]_option
as the variable. However now, we omit _option
from the variable name.
We need to ensure that % sections honor the version of the OS we are installing.
For example in CentOS 5.x, %packages
does not end with %end
.
Take existing atomic kickstarts and create appropriate snippets.
When attempting a Fedora 23 server install with KOAN, the install fails with:
dracut-initqueue[XYZ]: cat: /tmp/dd_disk: No such file or directory
Need to ensure we have option snippets for everything in the kickstart guide.
Need spec file to create RPMs.
Need to create usable atomic kickstarts. Later we can create snippets to be more robust.
Presently, the default completionMethod is set to reboot
. Let's change it to shutdown
so that if we have wonky installs that require us to shutdown so we can do some changes before rebooting make "life easier."
Also, it seems like a shutdown
is probably the better default option in general.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.