Set the hostname of the ci receiver correctly.
This commit is contained in:
@@ -11,8 +11,10 @@ if [[ $2 == *dokku* ]]; then
|
|||||||
tar -xf -
|
tar -xf -
|
||||||
echo "-----> Installing dependencies"
|
echo "-----> Installing dependencies"
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y git make curl software-properties-common
|
DEBIAN_FRONTEND=noninteractive apt-get install -y git make curl software-properties-common
|
||||||
|
echo "-----> Set hostname to dokku.me"
|
||||||
|
hostname dokku.me
|
||||||
echo "-----> Running make install"
|
echo "-----> Running make install"
|
||||||
DEBIAN_FRONTEND=noninteractive HOSTNAME=dokku.me make install
|
DEBIAN_FRONTEND=noninteractive make install
|
||||||
echo "-----> Generating keypair..."
|
echo "-----> Generating keypair..."
|
||||||
echo -e "y\n" | ssh-keygen -f /root/.ssh/id_rsa -t rsa -N ''
|
echo -e "y\n" | ssh-keygen -f /root/.ssh/id_rsa -t rsa -N ''
|
||||||
echo "-----> Installing SSH public key..."
|
echo "-----> Installing SSH public key..."
|
||||||
|
|||||||
Reference in New Issue
Block a user