Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #29 from TheNewNormal/v0.5.1
Browse files Browse the repository at this point in the history
V0.5.1
  • Loading branch information
rimusz committed Jan 28, 2016
2 parents b1c758b + f9aa049 commit 18ee393
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/Kube-Solo/Kube-Solo-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.5.0</string>
<string>0.5.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>155</string>
<string>157</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
Binary file added src/bin/fleetctl
Binary file not shown.
Binary file modified src/bin/helm
Binary file not shown.
Binary file added src/bin/pv
Binary file not shown.
14 changes: 14 additions & 0 deletions src/cloud-init/user-data
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ coreos:
ExecStart=/bin/sh -c '[[ -d /data/var/lib/etcd2 ]] || mkdir -p /data/var/lib/etcd2 && /usr/bin/chown etcd:etcd /data/var/lib/etcd2'
ExecStart=/bin/sh -c '[[ -d /data/opt/bin ]] || mkdir -p /data/opt/bin'
ExecStart=/bin/sh -c '[[ -d /data/kubernetes ]] || mkdir -p /data/kubernetes'
ExecStart=/bin/sh -c '[[ -d /data/mnt ]] || mkdir -p /data/mnt'
- name: var-lib-etcd2.mount
command: start
content: |
Expand Down Expand Up @@ -117,6 +118,19 @@ coreos:
Where=/opt/bin
Type=none
Options=bind
- name: mnt.mount
command: start
content: |
[Unit]
Description=Binds /data/mnt to /mnt
Requires=persistent-data-checks.service
After=persistent-data-checks.service
Before=docker.service rkt-metadata.socket
[Mount]
What=/data/mnt
Where=/mnt
Type=none
Options=bind
- name: etcd2.service
command: start
- name: fleet.service
Expand Down
16 changes: 8 additions & 8 deletions src/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ do
echo "Set CoreOS Release Channel:"
echo " 1) Alpha "
echo " 2) Beta "
echo " 3) Stable "
echo " 3) Stable (recommended)"
echo " "
echo -n "Select an option: "

Expand Down Expand Up @@ -90,20 +90,20 @@ export PATH=${HOME}/kube-solo/bin:$PATH
cd ~/kube-solo/
echo " "
echo "Please type Data disk size in GBs followed by [ENTER]:"
echo -n "[default is 5]: "
echo -n "[default is 10]: "
read disk_size
if [ -z "$disk_size" ]
then
echo " "
echo "Creating 5GB disk ..."
mkfile 5g data.img
echo "-"
echo "Created 5GB Data disk"
echo "Creating 10GB disk ..."
## mkfile 10g data.img
~/kube-solo/bin/pv -s 10g -S < /dev/zero > data.img
echo "Created 10GB Data disk"
else
echo " "
echo "Creating "$disk_size"GB disk (it could take a while for big disks)..."
mkfile "$disk_size"g data.img
echo "-"
## mkfile "$disk_size"g data.img
~/kube-solo/bin/pv -s "$disk_size"g -S < /dev/zero > data.img
echo "Created "$disk_size"GB Data disk"
fi

Expand Down

0 comments on commit 18ee393

Please sign in to comment.