Skip to content

Commit

Permalink
Add README that shows people how to use this
Browse files Browse the repository at this point in the history
  • Loading branch information
dustymabe committed Mar 27, 2018
1 parent d3d3121 commit 863a8f6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dracut/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

# for Fedora
dnf install -y dracut-network git-core
dnf install -y --nogpgcheck --repofrompath 'copr,https://copr-be.cloud.fedoraproject.org/results/dustymabe/ignition/fedora-$releasever-$basearch/' ignition

# for centos
curl -L https://copr.fedorainfracloud.org/coprs/dustymabe/ignition/repo/epel-7/dustymabe-ignition-epel-7.repo > /etc/yum.repos.d/copr.repo
yum install -y ignition
rm /etc/yum.repos.d/copr.repo

git clone https://github.com/dustymabe/bootengine.git
rsync -avh ./bootengine/dracut/* /usr/lib/dracut/modules.d/

dracut --add 'url-lib network ignition usr-generator' --install /usr/bin/ignition --force --verbose -N

rm /etc/machine-id
add 'coreos.config.url="https://dustymabe.fedorapeople.org/base.ign" ip=eth0:dhcp rd.neednet=1' to grub.cfg

reboot

0 comments on commit 863a8f6

Please sign in to comment.