static_ipxe

command module
v0.0.0-...-5db89ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

static_ipxe

This is a simple script to compile ixpe isos with a static ip embedded.

Installation

go install github.com/Bryxxit/static_ipxe

To compile the iso you'll need to install some depedencies according to the official ipxe site

  • gcc (version 3 or later)

  • binutils (version 2.18 or later)

  • make

  • perl

  • liblzma or xz header files

  • mtools

  • mkisofs (needed only for building .iso images)

  • syslinux (for isolinux, needed only for building .iso images)

    yum install -y isolinux mkisofs mtools xz-devel perl make binutils gcc syslinux nfs-utils genisoimage

Ussage

The package should now be available under your gopath

cd $GOPATH/bin

./static_ipxe create -n testy --initrd "/path/to/initd" --vmlinuz "/path/to/vmlinuz" --kickstarturl "url.org/kickstart" --netmask 255.255.255.0 --ip 10.10.10.10 --gateway 10.10.10.1

Your result should be a:

  • A folder containing ipxe git
  • A compile folder containing a backupscript folder with your bootstrap ipxe file
  • and finally your iso being hostname.iso

Documentation

Overview

Copyright © 2019 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL