Skip to content

Commit

Permalink
Replace invocations to apt with apt-get (Closes: subutai-io/vagrant#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
happyaron committed Jun 3, 2018
1 parent 6bd943a commit 495c7ea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion provisioning/en/provisioner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ else
echo "Installing $CMD ..."
echo >> /etc/apt/sources.list
echo "deb http://deb.subutai.io/subutai $ENV main" | tee --append /etc/apt/sources.list
apt update && apt -y install subutai
apt-get update && apt-get -y install subutai
cmd_path="$(which $CMD)"
fi

Expand Down
4 changes: 2 additions & 2 deletions scripts/ubuntu/zfs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

apt -y install zfsutils-linux
apt-get -y install zfsutils-linux

/sbin/modprobe zfs

Expand All @@ -10,7 +10,7 @@ zfs create -o mountpoint="/var/lib/lxc" subutai/fs

zpool set autoexpand=on subutai

apt -y install lxc
apt-get -y install lxc

apt-get -y install dirmngr

Expand Down
4 changes: 2 additions & 2 deletions scripts/zfs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

apt -y install zfsutils
apt-get -y install zfsutils

/sbin/modprobe zfs

Expand All @@ -10,7 +10,7 @@ zfs create -o mountpoint="/var/lib/lxc" subutai/fs

zpool set autoexpand=on subutai

apt -y install lxc
apt-get -y install lxc

apt-get -y install dirmngr

Expand Down
6 changes: 3 additions & 3 deletions stretch/hyperv/provisioner.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"cp /tmp/sources.list /etc/apt/sources.list",
"apt-get update",
"sed -i '1 i\\ulimit -n 65535' /etc/profile",
"apt -y install zfsutils",
"apt-get -y install zfsutils",
"/sbin/modprobe zfs",
"zpool create -f subutai /dev/mapper/main-zfs",
"zfs create -o mountpoint=\"/var/lib/lxc\" subutai/fs",
"zpool set autoexpand=on subutai",
"apt -y install lxc",
"apt-get -y install lxc",
"apt-get -y install dirmngr",
"apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C6B2AC7FBEB649F1"
]
}
}
6 changes: 3 additions & 3 deletions xenial/hyperv/provisioner.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"cp /tmp/sources.list /etc/apt/sources.list",
"apt-get update",
"sed -i '1 i\\ulimit -n 65535' /etc/profile",
"apt -y install zfsutils-linux",
"apt-get -y install zfsutils-linux",
"/sbin/modprobe zfs",
"zpool create -f subutai /dev/mapper/main-zfs",
"zfs create -o mountpoint=\"/var/lib/lxc\" subutai/fs",
"zpool set autoexpand=on subutai",
"apt -y install lxc",
"apt-get -y install lxc",
"apt-get -y install dirmngr",
"apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C6B2AC7FBEB649F1"
]
}
}

0 comments on commit 495c7ea

Please sign in to comment.