1
0
mirror of https://github.com/rancher/os.git synced 2025-07-02 01:31:48 +00:00
Commit Graph

293 Commits

Author SHA1 Message Date
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