Merge pull request #1068 from matiaskorhonen/rc.local-fix
Fixes escaping in the rc.local script in the Linode StackScript
This commit is contained in:
@@ -115,7 +115,7 @@ function setup_linode {
|
|||||||
update-grub
|
update-grub
|
||||||
|
|
||||||
cp /etc/rc.local /etc/rc.local-bak
|
cp /etc/rc.local /etc/rc.local-bak
|
||||||
cat << EOF > /etc/rc.local
|
cat << "EOF" > /etc/rc.local
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
sudo apt-get update >> /root/setup_linode.txt 2>&1
|
sudo apt-get update >> /root/setup_linode.txt 2>&1
|
||||||
sudo apt-get install -y linux-image-extra-"$(uname -r)" >> /root/setup_linode.txt 2>&1
|
sudo apt-get install -y linux-image-extra-"$(uname -r)" >> /root/setup_linode.txt 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user