Darren Shepherd
16ea661b6b
Fix rootfs build for ARM
2016-07-01 13:32:43 -07:00
Darren Shepherd
fd8e1dedb5
Merge pull request #1076 from joshwget/remove-raspberry-pi-version
...
Remove version from Raspberry Pi artifacts
2016-06-30 22:01:21 -07:00
Josh Curl
9b7b6ebe4a
Remove version from Raspberry Pi artifacts
2016-06-30 17:23:12 -07:00
Darren Shepherd
7dfece8f3d
Add udev back to the installer
2016-06-29 23:51:05 -07:00
Darren Shepherd
70bf02df1f
Various fixes for ARM build
2016-06-29 23:03:28 -07:00
Darren Shepherd
dd4f348592
Skip integration tests in release
2016-06-28 21:41:40 -07:00
Darren Shepherd
afb8806cb6
Merge pull request #1057 from ibuildthecloud/cni
...
Add CNI networking to system-docker
2016-06-28 16:05:11 -07:00
Darren Shepherd
e360f6cd6a
Merge pull request #1058 from ibuildthecloud/installer-size
...
Shrink installer a tiny bit
2016-06-28 15:58:21 -07:00
Darren Shepherd
0323844ca6
Add CNI networking to system-docker
2016-06-28 15:34:26 -07:00
Darren Shepherd
327aa0964c
Shrink installer a tiny bit
2016-06-28 15:28:51 -07:00
Josh Curl
b09c09edf4
Fix two instances where customization isn't respected
2016-06-28 14:35:51 -07:00
Darren Shepherd
d8fc2a7401
Merge pull request #1051 from joshwget/dns-patch-build-tag
...
Go DNS patch based on build tag
2016-06-27 20:38:14 -07:00
Josh Curl
d0607ee68f
Go DNS patch based on build tag
2016-06-27 20:05:44 -07:00
Josh Curl
128c228ff5
Add swap support in cloud config mounts
2016-06-22 21:50:29 -07:00
Darren Shepherd
9922786748
Merge pull request #1022 from joshwget/update-selinux-files
...
Update SELinux config files in installer
2016-06-17 13:24:37 -07:00
Josh Curl
45712bef22
Update SELinux files in installer
2016-06-17 09:13:40 -07:00
Darren Shepherd
2a60981b09
Build script updates
...
Always compress with gzip unless we are doing a release. Also download
rootfs.tar to ${DOWNLOAD} so `dapper -m bind` works better.
2016-06-17 08:00:33 -07:00
Darren Shepherd
924e4b8aae
/media and /mnt mounted as shared for console
2016-06-15 16:45:05 -07:00
Ivan Mikushin
a640bdb758
Fix installer build
2016-06-14 10:29:38 -07:00
Josh Curl
e4019385aa
Merge remote-tracking branch 'origin/v0.5' into HEAD
2016-06-13 22:00:34 -07:00
Ivan Mikushin
9afb667cf4
Fix building the iso
2016-06-13 14:42:10 -07:00
Darren Shepherd
c8fd1bc665
Pick vmlinuz then vmlinux
2016-06-07 11:21:28 -07:00
Darren Shepherd
57a2f99484
Optimize scripts for slow disks
2016-06-07 11:21:27 -07:00
Darren Shepherd
e1d29fbab7
Bring back installer
2016-06-07 11:21:27 -07:00
Darren Shepherd
ac0f317bf8
Build script updates
2016-06-07 11:21:27 -07:00
Darren Shepherd
c9c095f202
Build script
2016-06-06 08:08:04 -07:00
Darren Shepherd
8ab32c820f
Docker 1.11.1
2016-06-03 11:38:25 -07:00
Darren Shepherd
5bf4d2c117
More build script changes
2016-05-31 21:11:03 -07:00
Darren Shepherd
9e73976a9e
Make tests run
2016-05-23 14:15:38 -07:00
Darren Shepherd
0d5223db23
Fix tests
2016-05-22 23:51:46 -07:00
Darren Shepherd
d34ead2fbf
Speed up build and run tests
2016-05-22 23:16:27 -07:00
Darren Shepherd
c09b807991
Merge pull request #860 from imikushin/rootfs-build-fix
...
Fix building rootfs for arm on amd64
2016-05-16 18:51:22 -07:00
Ivan Mikushin
d664c96001
fix ./scripts/run: create a unique loopback device for each run
2016-05-11 15:36:56 -07:00
Darren Shepherd
dd7b2554e7
More build script enhancements
2016-05-08 10:35:48 -07:00
Darren Shepherd
ec410addb9
Refactor build scripts
2016-05-06 10:58:54 -07:00
Ivan Mikushin
1df1582459
Fix building rootfs for arm on amd64
2016-04-13 14:40:28 -07:00
Josh Curl
adb8ad3e3a
Add unit tests to CI
2016-04-13 11:23:21 -07:00
Wang Long
69cb33b26c
fix lay-down-os error
...
option `-k` does not need an argument and `-a` need one.
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-04-07 11:09:09 +08:00
Darren Shepherd
07faa92c7f
Merge pull request #820 from imikushin/kexec-kernel-args
...
Add --append to `ros os upgrade` to pass kernel args for --kexec
2016-04-04 13:41:11 -07:00
Darren Shepherd
6a3367ce24
Merge pull request #825 from imikushin/qemu-arm
...
Run tests on qemu-system-aarch64
2016-04-04 11:33:39 -07:00
Ivan Mikushin
e2f3ac78a7
cleanup tests using SSH
2016-03-31 18:56:18 -07:00
Darren Shepherd
44fb5dfe2e
Merge pull request #842 from joshwget/vbox-modules
...
Include VirtualBox guest modules
2016-03-31 18:40:01 -07:00
Darren Shepherd
0fcc1bb94f
Merge pull request #845 from datawolf/fix-suffix-error
...
fix the suffix error when the target is rootfs
2016-03-31 18:33:10 -07:00
Ivan Mikushin
2dd57c5f3a
remove an unused option --xhyve from ./scripts/run
2016-03-31 16:10:38 -07:00
Josh Curl
6e9ce6aea3
Include VirtualBox guest modules
2016-03-31 15:35:45 -07:00
Ivan Mikushin
60e5ff7ede
Fix problems loading external services on boot (like ubuntu-console or kernel-headers)
...
On arm64 external services would not load on boot because of DNS i/o timeouts or valid TLS certificates appearing expired or not issued yet (I know that sounds weird).
2016-03-31 13:16:26 -07:00
Ivan Mikushin
99c3207b14
Hook cloud-config into qemu-system-aarch46
2016-03-31 13:16:26 -07:00
Ivan Mikushin
29aff3d807
Dockerfile.dapper: make sure to update apt repos before fetching build deps and sources
...
Also, use dapper -d flag in scripts/shell.sh for better visibility
2016-03-31 13:14:25 -07:00
Darren Shepherd
78ae645903
Merge pull request #824 from imikushin/run-kvm
...
scripts/run: enable KVM on arm/arm64 too
2016-03-31 11:55:46 -07:00
Wang Long
5221a31b1f
fix the suffix error when the target is rootfs
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-31 21:50:16 +08:00
Wang Long
d45360db62
Fix lay-down-os shell error
...
the current code for lay-down-os will cause the following error when
install rancheros to disk.
```
-bash: [: missing `]'
```
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-26 15:33:25 +08:00
Ivan Mikushin
dc86eb8c6d
scripts/run: enable KVM on arm/arm64 too
2016-03-23 13:28:05 -07:00
Ivan Mikushin
5a8d0e7f34
Add --append to ros os upgrade
to pass kernel args for --kexec
2016-03-22 12:16:06 -07:00
Wang Long
e074038775
fix gen-os-config.sh error
...
Need to source build.conf.${ARCH} file when we generate os-config.yml
after the pr(https://github.com/rancher/os/pull/815 ) merged.
this patch fix it.
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-22 14:15:30 +08:00
Ivan Mikushin
8802fe2c6e
Run qemu and tests on different architectures
2016-03-17 04:30:11 -07:00
Ivan Mikushin
3b6d47be32
Use the correct strip binary.
...
Fixes native builds on ARM
2016-03-15 15:58:03 -07:00
Darren Shepherd
60e0ed9be4
Merge pull request #800 from DieterReuter/rpi3-image
...
WIP: Refactored RPI building scripts and support for Raspberry Pi 3
2016-03-15 09:59:47 -07:00
Ivan Mikushin
356f25be20
cross-build is back
...
`HOST_ARCH=arm64 ./make.sh minimal` builds vmlinuz and initrd for arm64 on arm64 (sourcing .docker-env.arm64 in the process)
`ARCH=arm ./make.sh rootfs` builds rootfs.tar.gz for arm on your current docker environment
2016-03-15 09:01:10 -07:00
Ivan Mikushin
142ec23778
Build for ARM64 on ARM64, installer included
2016-03-14 12:08:11 -07:00
Dieter Reuter
d30e307e2f
Refactor image builder, add support for Pi 3
2016-03-07 09:30:24 +01:00
Dieter Reuter
58c769cab5
Ignore dist folder
2016-03-07 09:29:12 +01:00
Ivan Mikushin
0bab70e84e
cleanup Makefile a bit
2016-02-29 17:03:34 -08:00
Darren Shepherd
0f263d570b
Merge pull request #785 from joshwget/kexec-upgrade
...
Kexec upgrade
2016-02-28 23:28:44 -07:00
Darren Shepherd
e5745261c1
Merge pull request #790 from ibuildthecloud/packet-1
...
Add Type-0 to docs
2016-02-28 23:02:27 -07:00
Darren Shepherd
042c0d2328
Add Type-0 to docs
2016-02-28 23:01:41 -07:00
Darren Shepherd
e9d475087c
Merge pull request #788 from ibuildthecloud/packet-1
...
Add scripts for installing on packet
2016-02-28 22:53:04 -07:00
Darren Shepherd
4aae611660
Add scripts for installing on packet
2016-02-27 23:02:53 -07:00
Josh Curl
9d46ab4df8
Kexec upgrade
2016-02-27 15:30:53 -08:00
Ivan Mikushin
8b72377a3c
generate os-config.yml
2016-02-26 17:46:55 -08:00
Ivan Mikushin
ac1b6a6797
Repair build for arm
...
and make sure CI breaks if arm is broken
2016-02-25 11:18:03 -08:00
Josh Curl
f28d463504
Enable SELinux
2016-02-19 16:11:32 -08:00
Darren Shepherd
cd8ab49579
Merge pull request #769 from ibuildthecloud/os
...
Scripts to build OpenStack/KVM image
2016-02-18 10:11:44 -07:00
Darren Shepherd
01252fc044
Scripts to build OpenStack/KVM image
2016-02-18 10:10:56 -07:00
Darren Shepherd
b2db201af9
RPI building scripts
2016-02-18 09:58:39 -07:00
Darren Shepherd
1e0125c508
Merge pull request #735 from imikushin/multiarch
...
Multi-arch build: amd64, arm
2016-02-08 18:57:24 -07:00
Ivan Mikushin
2f27271a2c
Multi-arch build
...
Currently, for amd64 (the default) and arm.
Run `dapper make ARCH=arm rootfs` to build rootfs.tar.gz for arm.
2016-02-08 16:49:49 -08:00
Dan Jasek
9adfdf6ef9
Fix bug in install script
...
lsblk -o label will list the labels of the block devices. Using name only returns /dev/sda, etc.
In some cases, labels may be repeated (eg - RAID configurations). It is safer to use greater than 0.
2016-02-06 19:23:29 -07:00
Ivan Mikushin
99bec55a2f
Use drone-0.4 for CI and migrate build to dapper
2015-12-18 19:24:24 +05:00
Ivan Mikushin
6698e4f46e
Merge pull request #663 from robbertkl/master
...
Avoid hardcoded reference to /scripts
2015-12-11 18:40:21 +05:00
Ivan Mikushin
084fb43201
tweak tests
2015-12-11 17:38:00 +05:00
Ivan Mikushin
f3afb076f7
Add ./scripts/vendor-cleanup.sh
...
And cleanup glide.yaml
2015-12-09 20:55:00 +05:00
Robbert Klarenbeek
c42d1b5716
Avoid hardcoded reference to /scripts
2015-11-25 18:33:24 +01:00
Ivan Mikushin
44b705c525
Merge pull request #597 from imikushin/usr-dev
...
remove boot behaviour dependency on version string
2015-10-13 11:13:31 +05:00
Wang Long
9e15059789
Replace rancherio with rancher
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2015-10-12 19:50:57 +08:00
Ivan Mikushin
c79a64e42e
remove dependency on version string
...
using rancher.rm_usr kernel param instead
2015-10-07 14:02:17 +05:00
Darren Shepherd
febd78f1dd
Add helper script to convert Ubuntu deb to kernel tgz
2015-10-02 01:02:44 -07:00
Darren Shepherd
d9fdbe542f
Merge pull request #591 from ibuildthecloud/faster-dev
...
Even faster dev build :)
2015-10-02 00:50:11 -07:00
Darren Shepherd
4cd78f1047
Even faster dev build :)
2015-10-01 15:45:48 -07:00
Ivan Mikushin
21453e38a9
installer: copy 1M zeroes to the target device before running fdisk
...
otherwise grub-install chokes, even after the new partition table has been created
2015-10-01 13:53:48 +05:00
Ivan Mikushin
e313091bde
fix: scripts/run --qind
runs plain qemu (instead of qind)
2015-09-23 11:57:16 +05:00
Ivan Mikushin
39e2e6c3b3
speed up the full build by swapping lzma with gzip if run with --dev flag
2015-09-23 10:22:55 +05:00
Ivan Mikushin
25fa1b769d
add --qind
to scripts/run
and scripts/ssh
...
also add `--fresh` to `scripts/run` to run with a clean state HDD,
make `--qemu` the default in `scripts/run` and `scripts/ssh`
2015-09-23 10:20:28 +05:00
Ivan Mikushin
abf1203499
readme from os-installer
2015-09-14 19:38:16 +05:00
Ivan Mikushin
4746e362b9
Merge pull request #558 from imikushin/test-custom-kernel
...
Test building with custom kernel and docker
2015-09-11 09:14:56 +05:00
Ivan Mikushin
168d340b76
test custom kernel and docker build and boot
2015-09-09 23:35:15 +05:00
Ivan Mikushin
0c196f557b
use --device=/dev/kvm:/dev/kvm instead of --privileged to enable KVM in docker
2015-09-09 14:31:58 +05:00
Ivan Mikushin
69970ed8ed
refactor docker-run.sh
2015-09-08 22:18:46 +05:00
Ivan Mikushin
65d99e6e8a
./scripts/run --no-format
2015-09-08 13:56:04 +05:00
Ivan Mikushin
bce7845dc5
factor out build configuration to build.conf
2015-09-08 12:14:06 +05:00
Ivan Mikushin
e525091ab5
cleanup installer Dockerfile a bit
2015-09-08 12:09:43 +05:00
Ivan Mikushin
9a75fc101c
detect /dev/kvm or optionally force --privileged
...
using PRIVILEGED=1 in ./scripts/docker-run.sh
2015-09-04 19:48:46 +05:00
Ivan Mikushin
950158823c
run integration tests as part of the build
2015-09-04 19:30:16 +05:00
Ivan Mikushin
74e589039b
make run and ssh scripts more robust
...
Detect if KVM is available.
Enable QEMU to run w/o KVM (in the cloud or on OS X). Use --xhyve flag to run with xhyve on OS X.
2015-09-03 20:01:32 +05:00
Ivan Mikushin
e94f8d8a1f
revive integration tests
2015-09-03 17:44:16 +05:00
Darren Shepherd
0d035abe98
Merge pull request #519 from bruienne/master
...
Fix sha1sum call to work on both Linux and Darwin.
2015-08-31 07:23:03 -07:00
Ivan Mikushin
b00d7efb8f
choose appropriate console for install type
...
tty0 or ttyS0
(cherry picked from commit c62ca5f
)
2015-08-27 15:13:16 +05:00
Ivan Mikushin
16d69e0058
Revert "Installer image based on Alpine"
2015-08-27 15:01:26 +05:00
Ivan Mikushin
c62ca5f891
choose appropriate console for install type
...
tty0 or ttyS0
2015-08-25 17:42:20 +05:00
Ivan Mikushin
a60eb06307
use extlinux instead of grub2
2015-08-25 17:42:20 +05:00
Ivan Mikushin
e486b7e218
ros install
2015-08-25 17:20:40 +05:00
Pepijn Bruienne
3565a3513b
Fix sha1sum call to work on both Linux and Darwin.
2015-08-22 13:49:02 -04:00
Ivan Mikushin
2812bf4894
fix the boot crash on installed system
2015-08-18 12:53:44 +05:00
Ivan Mikushin
1a1391112a
make tty0 the default console
...
the last `console=` value becomes `/dev/console`
(see https://www.kernel.org/doc/Documentation/serial-console.txt )
2015-08-17 17:04:16 +05:00
Ivan Mikushin
4b5f68b0f6
revert master to v0.4.0-dev
...
master branch should be a "-dev" version. let's tag rcs and releases versions on commits spawning off the branch
2015-08-14 20:02:47 +05:00
Ivan Mikushin
687beeca30
v0.4.0-rc1
2015-08-14 19:20:58 +05:00
Ivan Mikushin
f1c7aa38c1
add rancher/os (os-installer) Dockerfile
...
and installer scripts
2015-08-14 18:23:50 +05:00
Ivan Mikushin
3977e379ae
cleanup to host rancher/os (os-installer) Dockerfile
2015-08-14 18:23:50 +05:00
Ivan Mikushin
32aa3c74a5
rm copy-images
2015-08-07 23:25:38 +05:00
Ivan Mikushin
414eec85c6
custom kernel and docker-from-scratch
2015-08-07 20:06:28 +05:00
Ivan Mikushin
f072cff37c
cleanup after docker create
2015-08-06 15:03:29 +05:00
Darren Shepherd
13106ed63f
Fix sbin symlink and bootstrap services
2015-08-06 00:49:00 -07:00
Darren Shepherd
598f47b68d
Update build for docker-from-scratch
2015-08-06 00:05:25 -07:00
Darren Shepherd
9d76b79ac3
Refactor to use libcompose
2015-08-06 00:05:25 -07:00
Darren Shepherd
19f9a1b281
Rebase on docker-from-scratch
2015-08-06 00:05:25 -07:00
Ivan Mikushin
1ef95f1db5
fix scripts/ci
2015-08-06 11:36:11 +05:00
Ivan Mikushin
e0e51a9f37
move chunks of shell from Makefile into scripts
2015-08-06 01:58:32 +05:00
Ivan Mikushin
9436b0da9a
split makefile into local and in-docker
2015-08-06 01:07:35 +05:00
Ivan Mikushin
de3bfed810
scripts/run: create an empty raw disk image if not present
...
use autoformat with formatzero=true to format the disk
2015-07-29 13:13:28 +05:00
Ivan Mikushin
5c84f36d79
enable ACPI in xhyve
2015-07-29 11:58:12 +05:00
Ivan Mikushin
7b957d8fc6
scripts/run: minor cleanup
2015-07-28 18:58:25 +05:00
Ivan Mikushin
55ca88ed82
do not pull os-images by default if they exist
...
also, cleanup os-initrdbase container on exit in ./scripts/copy-images
(as trap can apparently only run one command)
2015-07-28 13:22:47 +05:00
Darren Shepherd
cd616a383e
Fix script/run on Linux
2015-07-27 15:55:45 -07:00
Ivan Mikushin
6022f78edd
dind-less, make-based build system
2015-07-27 11:21:46 +05:00
Ivan Mikushin
70c9ce46ec
move kernel lib from initrd-base to kernel
2015-07-24 14:20:50 +05:00
Ivan Mikushin
890052273e
log bootstrap and autoformat services
2015-07-22 19:18:43 +05:00
Ivan Mikushin
d33698d17b
move auto-formatter drive selection logic to os-autoformat container
...
and get rid of:
- machine-rancheros.iso,
- special case in build-images,
- some bootstrap.go code
2015-07-22 17:47:24 +05:00
Ivan Mikushin
47d658cf4a
./scripts/ssh: support OS X
2015-07-21 17:27:12 +05:00
Ivan Mikushin
229e4e0fbd
./scripts/run: support OS X
2015-07-21 17:26:48 +05:00
Ivan Mikushin
2efba7cca5
WIP: supply cloud-config via openstack config-2 CD
2015-07-21 13:34:55 +05:00
Ivan Mikushin
e906e1ced7
WIP: xhyve: add some memory to the VM
...
do not use persistent disk yet
2015-07-21 13:34:55 +05:00
Ivan Mikushin
5b50756d62
bump version to v0.4.0-dev
2015-07-21 13:02:50 +05:00
Ivan Mikushin
26daed2bbf
update to docker v1.7.1
2015-07-16 16:34:43 +05:00
Ivan Mikushin
95c0bb2d8e
really fix the rancher/dind:v0.5.0 regression
...
not just avoid it
2015-07-14 23:50:22 +05:00
Ivan Mikushin
51d2dddfa8
scripts cleanup
2015-07-14 18:37:39 +05:00
Ivan Mikushin
a444250160
fix network connectivity regression in ros s list
and ros os list
...
revert to using rancher/dind:v0.1.0 as DOCKER_BASE
2015-07-14 17:53:16 +05:00
Ivan Mikushin
b96d1a0964
v0.3.4-dev
2015-07-09 16:36:25 +05:00
Ivan Mikushin
26f470543d
cleanup build a little
2015-07-09 11:38:44 +05:00
Ivan Mikushin
a8fcbb7aad
build scripts: update to rancher/dind:v0.5.0
...
because docker-1.7 is now required to successfully pull images from DockerHub
NOTE: .drone.yml still uses rancher/dind:v0.1.0
2015-07-09 11:37:22 +05:00
Ivan Mikushin
33d8026d75
v0.3.3
2015-07-03 11:04:24 +05:00
Ivan Mikushin
a9d96d786a
v0.3.3-rc1
2015-07-02 22:21:16 +05:00
Ivan Mikushin
e8513c8e97
fix machine
2015-07-02 14:06:12 +05:00
Ivan Mikushin
bd2ab6c218
v0.3.2
2015-07-01 16:24:36 +05:00
Ivan Mikushin
81216c2af2
v0.3.2-rc3
...
use images v0.3.2-rc3 in os-config.yml
2015-06-30 19:29:10 +05:00
Ivan Mikushin
7995541ce1
set VERSION to v0.3.2-rc2
2015-06-30 12:36:21 +05:00
Ivan Mikushin
6c96533494
use xhyve in ./scripts/run on OS X
2015-06-29 23:40:54 +05:00
Ivan Mikushin
c3bbd8886c
cleanups
2015-06-29 23:32:36 +05:00
Ivan Mikushin
da2b12d840
get bin/rancheros back where it belongs
2015-06-29 23:12:08 +05:00
Ivan Mikushin
4bf30683e7
build based on os-config.yml
...
WIP: build scripts
2015-06-29 12:03:41 +05:00
Ivan Mikushin
dff70f8362
latest rancher-compose, default.go -> os-config.yml
...
also, gofmt
2015-06-29 12:00:41 +05:00
Darren Shepherd
6a8fc22fa9
Merge pull request #347 from imikushin/sshd-client-alive
...
add ClientAliveInterval 180 to sshd_config
2015-06-26 09:39:57 -07:00
Ivan Mikushin
2082d3f620
make rancheros-install available in debian and ubuntu consoles
2015-06-09 14:15:31 +05:00
Ivan Mikushin
1db86b5dac
add ClientAliveInterval 180 to sshd_config
2015-06-01 17:41:52 +05:00
Darren Shepherd
3338c4ac63
v0.3.1
2015-05-31 10:55:29 -07:00
Darren Shepherd
ff2878671c
v0.3.1-rc4
2015-05-29 11:32:11 -07:00
Darren Shepherd
3a7fc4524d
Make consoles compatible with RancherOS v0.3.0
2015-05-26 21:00:06 -07:00
Ivan Mikushin
168eb7f484
debianconsole: add less
2015-05-24 18:08:28 +05:00
Darren Shepherd
c9ba68fdd4
rancher/os:v0.3.1-rc3
2015-05-23 08:47:29 -07:00
Ivan Mikushin
95434c27de
build v0.3.1
2015-05-23 20:08:48 +05:00
Ivan Mikushin
87959a00b3
docker-1.6.2
2015-05-23 14:40:51 +05:00
Ivan Mikushin
15de0a4a75
preload images from fresh files only
2015-05-22 14:50:07 +05:00
Ivan Mikushin
63bd060e2d
the preload container
2015-05-19 19:15:52 +05:00
Ivan Mikushin
2c4f45ab4c
preload.sh
2015-05-19 19:10:11 +05:00
Ivan Mikushin
ed118d4b69
debianconsole: add sudo
2015-05-14 12:09:47 +05:00
Darren Shepherd
a55b0b432b
Merge pull request #301 from imikushin/ssh
...
`./scripts/ssh` convenience script
2015-05-11 18:02:42 -07:00
Ivan Mikushin
5b9ef6ae16
rename rancherctl
to ros
...
shorter, easier to use (and just plain cooler) name
2015-05-10 18:17:04 +05:00
Ivan Mikushin
028b274dcd
make ssh happy with the key perms
2015-05-10 16:59:38 +05:00
Ivan Mikushin
2379bd9721
use exec to replace the bash process with qemu
2015-05-10 15:33:51 +05:00
Ivan Mikushin
11c5348845
./scripts/ssh
: exec arbitrary command
...
e.g. `./scripts/ssh sudo system-docker ps -a`
2015-05-10 14:11:25 +05:00
Ivan Mikushin
26aae6303f
./scripts/ssh
convenience script
...
run `./scripts/ssh` to easily ssh into the RancherOS KVM instance started with `./scripts/run`
2015-05-10 14:11:11 +05:00
Darren Shepherd
fdc9463e4c
v0.3.1-rc2 bump
2015-05-02 23:08:21 -07:00
Darren Shepherd
4367c93aa3
Support debian style /etc/default/docker at /var/lib/rancher/conf/docker
2015-05-02 23:07:28 -07:00
Darren Shepherd
45d9c54b9a
Rename userdocker to docker to be more consistent with other distros
2015-05-02 23:06:20 -07:00
Darren Shepherd
03d232ce87
v0.3.1-rc1
2015-05-01 13:45:11 -07:00
Darren Shepherd
b7c45be5eb
Merge pull request #218 from imikushin/jessie-console
...
add debian:jessie console :)
2015-05-01 12:25:28 -07:00
Darren Shepherd
3d2aab6b9a
Merge pull request #279 from ibuildthecloud/version
...
v0.3.1 bump
2015-05-01 12:20:59 -07:00
Darren Shepherd
a5aa57b572
Merge pull request #247 from wlan0/bugfix
...
Fix #139 : show IP address in login screen
2015-05-01 12:09:43 -07:00
Darren Shepherd
ede5d418e3
v0.3.1 bump
2015-04-30 22:17:45 -07:00
wlan0
7e5aed8638
Fix #139 : show IP address in login screen
...
Following coreos convention, we print all the addresses set on all of the network interfaces
Signed-off-by: wlan0 <sidharthamn@gmail.com>
2015-04-29 05:47:39 -07:00
wlan0
bfb0df8c37
print message if rancheros-install needs privilege escalation
2015-04-29 05:44:17 -07:00
Darren Shepherd
47f7ac22db
Merge pull request #257 from ibuildthecloud/os-base
...
os-base v0.3.1
2015-04-30 15:18:22 -07:00
Darren Shepherd
2d44e2d078
os-base v0.3.1
2015-04-30 09:20:23 -07:00
Ivan Mikushin
d20d708bf0
add docker to sudoers (same as ubuntuconsole)
2015-04-29 17:04:12 +05:00
Ivan Mikushin
c59e720da5
debian-console: add vim
2015-04-29 16:59:03 +05:00
Ivan Mikushin
5a56e22d69
add debian:jessie console :)
2015-04-29 16:59:02 +05:00
wlan0
2d2ee0dcdc
do not use entrypoint for acpid
2015-04-29 02:51:45 -07:00
Ivan Mikushin
3a5f2bcb9b
fix arg use conflict: add --cloud-config parameter
2015-04-29 17:19:59 +05:00
Ivan Mikushin
c5676987a9
use an arg instead of a magic location for a user supplied cloud-config
2015-04-29 17:19:59 +05:00
Ivan Mikushin
3511343f46
./scripts/run: provision tmp/cloud-config.yml as cloud-config
2015-04-29 17:19:59 +05:00
wlan0
1626247f48
machine support for rancherOS
2015-04-28 10:22:13 -07:00
Ivan Mikushin
2cb5884dac
ubuntu-console: add vim
2015-04-26 17:06:00 +05:00
Darren Shepherd
32953f4923
Merge pull request #78 from imikushin/vbox
...
VirtualBox convenience scripts
2015-04-20 22:57:29 -07:00
Darren Shepherd
1c1c41d4c1
bump v0.3.0
2015-04-18 23:17:41 -07:00
Darren Shepherd
2bbf838fea
Bump v0.3.0-rc4
2015-04-17 06:37:56 -07:00
Darren Shepherd
1075d5b30c
Docker 1.6
2015-04-17 06:37:56 -07:00
Darren Shepherd
c955c34e3b
bump version v0.3.0-rc3
2015-04-15 23:17:01 -07:00
Darren Shepherd
efe55e8244
set hostname to rancher-dev to test DHCP
2015-04-15 23:17:01 -07:00
Darren Shepherd
90a40dbf5a
Use common entrypoint for ubuntu-console
2015-04-15 23:17:01 -07:00
Darren Shepherd
61b5525d5b
Check if os-release exists first
2015-04-15 23:17:00 -07:00
Darren Shepherd
a0dce3b56e
Merge pull request #176 from cloudnautique/revert_backto_using_old_network_naming
...
Revert "Use consistent device names"
2015-04-15 02:42:07 -07:00
Bill Maxwell
e60db54138
Revert "Use consistent device names"
...
This reverts commit 402cbbdf6f
.
2015-04-14 14:57:43 -07:00
Bill Maxwell
239e59ea12
Add all-volumes to parition container
...
Need access to system-docker in os-installer update.
2015-04-13 13:54:01 -07:00
Ivan Mikushin
01ebb51b54
pwn dist dir
2015-04-13 13:44:34 +05:00
Ivan Mikushin
a7ef1aac42
dump the extra NIC
2015-04-13 13:25:34 +05:00
Darren Shepherd
2a69c5f38e
Bump version to v0.3.0-rc2
2015-04-10 07:32:32 -07:00
Darren Shepherd
bafe1a7992
Add extra_args to user docker invocation
2015-04-10 07:28:28 -07:00
Darren Shepherd
894f785ac3
Don't make CA certs readonly
2015-04-10 07:28:28 -07:00
Darren Shepherd
474aeb4f99
Allow hostname to be set by DHCP
2015-04-10 07:28:28 -07:00
Darren Shepherd
402cbbdf6f
Use consistent device names
2015-04-07 20:06:43 -07:00
wlan0
8788ef3dfa
add os-release file for console container
2015-04-07 16:09:29 -07:00
Darren Shepherd
d67aec9122
rbind the host dev
2015-04-06 07:28:28 -07:00
Darren Shepherd
8d9d941fee
Make custom gopath builds easier
2015-04-06 07:17:03 -07:00
Darren Shepherd
11790d8c1c
Remove running OS in Docker and setup better qemu args
2015-04-06 07:16:50 -07:00
Darren Shepherd
fd4560b54e
Disable device renaming
2015-04-06 07:04:11 -07:00
Darren Shepherd
7bb5e10b12
Add syslog and udev hotplugging
2015-04-06 06:52:17 -07:00
Darren Shepherd
af272e92ca
Add networking to system docker
2015-04-04 12:18:44 -07:00
Darren Shepherd
74c18eb4ed
Bump os-base, docker versions
2015-04-04 10:10:37 -07:00
Darren Shepherd
a1f912c4d5
Wait for userdocker to start
2015-04-04 09:55:41 -07:00
Darren Shepherd
4524251129
Set UseDNS=no for sshd
2015-04-04 08:52:49 -07:00
Darren Shepherd
6004183bb4
Don't run ntpd at debug level
2015-04-04 08:51:16 -07:00
Darren Shepherd
363cd2764d
Add option to not daemonize udev
2015-04-04 05:42:48 -07:00
Darren Shepherd
95a2f3ed67
Set build/initrd-current
2015-04-04 05:42:48 -07:00
Darren Shepherd
4118af6afa
os-base v0.2.0
2015-04-04 05:42:48 -07:00
Darren Shepherd
0feacf7927
Copy headers
2015-04-04 05:42:48 -07:00
Darren Shepherd
6a3240f865
Dynamically set version for ubuntu console
2015-03-20 12:43:24 -07:00
Darren Shepherd
189e40ce26
Change volume containers to create only
2015-03-20 11:37:28 -07:00
Darren Shepherd
a398f82403
Add dynamic version string
2015-03-20 11:37:28 -07:00
Darren Shepherd
2f36ddd814
Merge pull request #91 from cloudnautique/set_default_install_to_generic
...
Set defaults based off of Rancher OS info
2015-03-19 22:49:38 -07:00
Darren Shepherd
4cde6dc934
network not disabled for cloud-init-pre
2015-03-19 22:48:05 -07:00
Bill Maxwell
bee6675b36
Set defaults based off of RanchOS info
...
If running on RancherOS gather sane defaults for users.
2015-03-19 21:09:43 -07:00
Bill Maxwell
2310287893
changed for new image name
2015-03-19 14:47:37 -07:00
Darren Shepherd
3c44f0ef5b
Docker fails to start when TLS is off
2015-03-19 09:41:46 -07:00
Darren Shepherd
b5ed2e3542
Setup up golang for netgo
2015-03-18 08:27:00 -07:00
Darren Shepherd
2d10153c7e
Refactor TLS conf
2015-03-18 06:45:22 -07:00
Darren Shepherd
5a36e885ac
Don't allow start.sh to fail console start
2015-03-18 06:45:22 -07:00
Darren Shepherd
96edb78a74
Create /etc/lsb-release file
2015-03-18 06:45:22 -07:00
Darren Shepherd
87fa7272b7
Fix bug in which rancher home dir is not owned by rancher user
2015-03-18 06:45:22 -07:00
Darren Shepherd
04ae0c104b
Switch to using netgo
2015-03-18 06:45:22 -07:00
Darren Shepherd
4d957a9f47
Dockerize ./scripts/build
2015-03-18 06:45:22 -07:00
Darren Shepherd
2d0f868a2e
Delete temp Dockerfiles
2015-03-18 06:45:22 -07:00
Darren Shepherd
783e55306c
Separate cloud init into two phases
2015-03-18 06:45:22 -07:00
Darren Shepherd
f21e7e1a90
Create custom ISO for machine that has auto-format on by default
2015-03-18 06:45:22 -07:00
Darren Shepherd
24c2d15ba8
Remove hack to load VMware SCSI
2015-03-18 06:45:22 -07:00
Darren Shepherd
91dd56e595
Add bootstrap phase to handle udev and auto-format
2015-03-18 06:45:22 -07:00
Darren Shepherd
3f078a9917
Build script updates for os-base 0.1.0
2015-03-18 06:45:21 -07:00
Darren Shepherd
8bb9d9f9bd
Start docker in CI
2015-03-18 06:45:21 -07:00
Bill Maxwell
c4762e4d94
Added rancheros-installer script
...
This script will call out to pull an os-installer container. It handles
orchestrating the install process.
2015-03-12 11:40:20 -07:00
Ivan Mikushin
27c6f0f822
parameterize host-only NIC and IP range
2015-03-10 19:31:15 +05:00
Ivan Mikushin
bd5c6e0898
VirtualBox: reduce SATA portcount to 2
2015-03-09 19:34:24 +05:00
Ivan Mikushin
75b40d8168
VirtualBox convenience scripts
2015-03-09 15:08:02 +05:00
Darren Shepherd
4b4bb63a4f
Switch build env to ubuntu:14.04.2
2015-03-06 22:12:45 -07:00
Darren Shepherd
1452332ccb
Fix CI
2015-03-06 21:56:47 -07:00
Darren Shepherd
7eb4dfd93a
os-base 0.0.5
2015-03-06 21:56:29 -07:00
Darren Shepherd
9e7f33b4f7
Add rsync to ubuntu console
2015-03-06 21:25:40 -07:00
Darren Shepherd
fff517ef0b
Add support for local builds for downloads
...
If you set the hash in scripts/download to "dev" the build.sh
will use the local file from assets/
2015-03-06 21:25:25 -07:00
Darren Shepherd
b62fd539bd
Networking implementation and fixes
2015-03-06 21:20:46 -07:00
Ivan Mikushin
aa9e6e9713
Set loopback interface up
...
fix #73
2015-03-05 22:28:58 +05:00
Ivan Mikushin
4b9504189f
use ubuntu:14.04.2
...
pin version
2015-03-03 18:57:41 +05:00
Ivan Mikushin
1889f4fca9
ubuntu-console: use latest Ubuntu 14.04 image
...
see https://registry.hub.docker.com/_/ubuntu/
2015-03-03 16:55:13 +05:00
Ivan Mikushin
676680a52f
fix #59
2015-03-02 22:44:41 +05:00
Ivan Mikushin
7240eab253
fix a typo in scripts/run
2015-03-02 00:19:38 +05:00
Darren
cf72122282
Merge pull request #29 from cloudnautique/add_vbox_build
...
Builds a VirtualBox VM that boots the new ISO and attaches a drive
2015-02-24 15:03:14 -08:00
Darren Shepherd
a184e03fc5
Revert SIGCHLD behaviour
2015-02-24 13:36:31 -07:00
Darren Shepherd
69268a65f1
Update Docker for SIGCHLD handling
2015-02-24 12:47:55 -07:00
Darren Shepherd
dfeb26eecf
Temporary fix for VMware mounting state partition
2015-02-24 10:45:17 -07:00
Darren Shepherd
75f99bbace
os-base v0.0.4
2015-02-24 01:28:04 -07:00
Darren Shepherd
beb044b265
Don't hard code password in image anymore
2015-02-24 01:28:04 -07:00
Bill Maxwell
5fd74dd5ae
added md5 sha256 to iso-checksums.txt
2015-02-23 16:24:10 -07:00
Darren Shepherd
dac9b7e21e
Updates to cloud-init
2015-02-23 12:00:24 -07:00
Darren Shepherd
5876353639
Merge branch 'cloudinit' of github.com:sidharthamani/os into sidharthamani-cloudinit
...
Conflicts:
scripts/dockerimages/06-console
2015-02-22 21:17:36 -07:00
Darren Shepherd
d2dd4db6b1
Script updates
2015-02-22 20:59:44 -07:00
Darren Shepherd
dcf9d24415
Strip rancheros bin
2015-02-22 20:59:44 -07:00
sidharthamani
d08163b5c5
lay foundation for rewriting cloud-init
2015-02-22 10:57:25 -08:00
Darren
6800fdfb67
Merge pull request #31 from sidharthamani/master
...
add upgrade framework for rancherctl os command
2015-02-21 19:40:44 -07:00
sidharthamani
0b31dc7e3b
move tlsconf to rancherctl
2015-02-21 13:42:42 -08:00
Darren Shepherd
28b72f217f
Update os-base
2015-02-21 00:35:08 -07:00
Darren Shepherd
0a6f902f69
Setup rancher user and ssh
2015-02-21 00:34:57 -07:00
Bill Maxwell
d8ab1e0803
Builds a VirtualBox VM that boots the new ISO and attaches a drive
2015-02-20 15:12:09 -07:00
Darren Shepherd
c508994b59
Give access to docker sockets to rancher user
2015-02-20 12:33:49 -07:00
Darren Shepherd
5e7cf9952b
Start sshd
...
Keys aren't persisted at the moment
2015-02-20 11:47:40 -07:00
Darren Shepherd
4b2e98e238
Add rancher user and lock root
2015-02-20 11:29:17 -07:00
Darren Shepherd
bc15f3b115
Update os-base
2015-02-19 20:06:03 -07:00
Darren Shepherd
f84aa02276
Further cleanup and refactoring
2015-02-19 20:05:43 -07:00
Darren Shepherd
e211279636
Refactor cloud-init
2015-02-19 20:05:17 -07:00
Darren Shepherd
c2a8de2b5f
Add missing ca cert for system docker
2015-02-19 16:01:53 -07:00
sidharthamani
ec9df89343
exec ntp, don't fork
2015-02-19 14:34:34 -08:00
Darren
80dda222e2
Merge pull request #10 from sidharthamani/syslogd
...
Syslogd
2015-02-19 15:33:22 -07:00
Darren Shepherd
e8abf31e94
Check that docker wait exits with 0
2015-02-19 14:16:26 -07:00
sidharthamani
ecbc0b9a05
add syslog container
2015-02-19 13:00:35 -08:00
Darren Shepherd
900b4512c9
New os base
2015-02-19 13:47:44 -07:00
Darren Shepherd
325cbc2fe7
Merge branch 'master' of github.com:sidharthamani/os into sidharthamani-master
...
Conflicts:
config/default.go
2015-02-19 11:32:09 -07:00
Darren Shepherd
6e87ea3981
Build script changes
2015-02-19 11:26:59 -07:00
sidharthamani
fb237dbebe
add cloud-init support
2015-02-18 19:46:22 -08:00
sidharthamani
597a46c574
wire up tls config
2015-02-18 13:29:28 -08:00
Darren Shepherd
529ce4336d
Implement rancherctl config import
2015-02-17 18:42:26 -07:00
Darren Shepherd
9f1a38f8c8
gofmt changes
2015-02-17 17:31:19 -07:00
Darren Shepherd
fe5cef0ba6
CI scripts
2015-02-17 17:01:38 -07:00
sidharthamani
3092f5fcd0
add ntp container
2015-02-17 14:47:37 -08:00
Darren Shepherd
9d8110513e
Some refactoring
2015-02-17 01:18:48 -07:00
Darren Shepherd
76e5cf8d50
Merge power funcs and fix build issues
2015-02-16 22:09:26 -07:00
Darren Shepherd
bca7c035d2
Merge branch 'master' of github.com:sidharthamani/os into sidharthamani-master
...
Conflicts:
config/config.go
2015-02-16 20:56:00 -07:00
Darren Shepherd
6928140540
Switch to virtio
2015-02-16 20:49:13 -07:00
Darren Shepherd
7237954537
Fix build scripts
2015-02-16 17:02:35 -07:00
sidharthamani
34b3057909
resolve device name using libblkid
2015-02-16 16:43:58 -07:00
Darren Shepherd
925a847ccc
Add tty and half way broken state handling
2015-02-16 16:38:49 -07:00
Darren Shepherd
2911946aad
Update scripts
2015-02-14 09:35:46 -07:00
Darren Shepherd
e22cb3e919
Add release script
2015-02-08 22:09:51 -07:00
Darren Shepherd
df4a126175
Initial commit
2015-02-08 21:38:37 -07:00