Skip to content

Commit

Permalink
Issue minishift#200 Handle user data triggers twice
Browse files Browse the repository at this point in the history
  • Loading branch information
gbraad committed Jan 30, 2018
1 parent 7c5bb9d commit 816d406
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions rhel-7.template
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,6 @@ echo "VARIANT=\"minishift\"" >> /etc/os-release
echo "VARIANT_VERSION=\"${version}\"" >> /etc/os-release
echo "BUILD_ID=\"${build_id}\"" >> /etc/os-release

base64 -d < handle-user-data.base64 > handle-user-data
rm -f handle-user-data.base64
mv handle-user-data /etc/rc.d/init.d/

chmod +x /etc/rc.d/init.d/handle-user-data
/sbin/restorecon /etc/rc.d/init.d/handle-user-data

chmod +x /etc/rc.d/rc.local
echo "/etc/rc.d/init.d/handle-user-data" >> /etc/rc.d/rc.local

# Remove redhat-logo and firmware package to help with reduce box size
yum remove -y redhat-logos linux-firmware

Expand Down

0 comments on commit 816d406

Please sign in to comment.