Giter VIP home page Giter VIP logo

cobbler's Introduction

Welcome to GitHub Pages

You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.

Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.

Markdown

Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for

Syntax highlighted code block

# Header 1
## Header 2
### Header 3

- Bulleted
- List

1. Numbered
2. List

**Bold** and _Italic_ and `Code` text

[Link](url) and ![Image](src)

For more details see GitHub Flavored Markdown.

Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml configuration file.

Support or Contact

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.

cobbler's People

Contributors

sfloess avatar solenopsis-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

cobbler's Issues

Fix Fedora 23 Atomic installs

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)

Allow for root login via sshd

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.

Ensure we support section variables and they are denoted correctly

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.

Need ability to adjust filesystem to expand post installation

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.

Turn system.ks into snippets

Our system.ks is way to convoluted and should be refactored to be snippets. The system.ks should include the snippets.

Need template for simplifying OS naming

Simplifying the computation of operating system name

and version...

if $getVar('$operatingSystem', '') == '' and $getVar('$os_version', '') != ''

#if $os_version.startswith('fedora')
    #set $operatingSystem = 'fedora'
#else if $os_version.startswith('rhel')
    #set $operatingSystem = 'rhel'
#end if

end if

if $getVar('$operatingSystemVersion', '') == ''

set $operatingSystemVersion = float($os_version.replace($operatingSystem, '0'))

end if

Processing of LVM partitions is broken

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')

Add a manual install script

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:


Manual

Clone this git repo and:

  • copy the contents of kickstarts to /var/lib/cobbler/kickstarts.
  • create a /var/lib/cobbler/snippets/flossware directory.
  • copy the contents of snippets to /var/lib/cobbler/snippets/flossware.

We should provide a bash script that can do the aforementioned.

Change default completionMethod value to be shutdown

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.

clearpart option prepends --

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.

My cobbler service started to report an error PXE-11

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?

Fix Fedora 23 Server installs

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 snippet to perform virtualization installs

For this to work:

  • post install for bridges
    • ifcfg-[bridge name]
    • update ifcfg-e[np* | th*]
    • /usr/lib/sysctl.d/00-system.conf
      • net.ipv4.ip_forward = 1
  • centos xen
    • yum install centos-release-xen
    • yum update
    • yum install xen
    • yum install libvirt
  • kvm
    • yum install kvm virt-manager libvirt virt-install qemu-kvm xauth dejavu-lgc-sans-fonts

Ensure all source has GPL license included

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/>.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.