1
0
mirror of https://github.com/rancher/os.git synced 2025-06-21 12:37:04 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
niusmallnan
1b004dff3c Add arm64 server support 2018-12-02 21:18:23 +08:00
niusmallnan
50e72e629b Optimize indentation format for shell scripts 2018-11-22 16:28:50 +08:00
Sven Dowideit
b4584a616a update to new kexec, and fix building with 17.06.1
Signed-off-by: Sven Dowideit <sven@y260.home.org.au>
2017-07-07 08:56:26 +10:00
Sven Dowideit
1eb6991798 Add apt-cacher build arg
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-06-14 13:45:04 +10:00
Sven Dowideit
fdc16672d5 ros os upgrade --kexec ... works again
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-03 09:18:17 +00:00
Sven Dowideit
62d8aaa58e Need to remove the immutable bit from ldlinux.sys so root can remove it
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-31 12:15:15 +00:00
Sven Dowideit
7765a3308d work around 'No help topic found' issue calling set-disk-partitions script on older RancherOS
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-18 01:44:42 +00:00
Sven Dowideit
8e5eba0ac5 add --debug logging option to installer, and a dummy set-disk-partitions
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-18 10:50:37 +10:00
Sven Dowideit
2a575837b2 Installing 0.7.1, and then rebooting, and doing a ros upgrade to a faked up latest works \o/
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
bdb0d32235 Add isolinux cfg files to installer, and add ros to base installer for now
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
6503928fbf the os-installer base Dockerfile
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
47eaf2bda4 can't work yet - need the host fs to have the iso mounted...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
cc78ff7bd1 make the iso run also get the ssh and cloud-init so testing the installer is easier
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:16 +00:00
Sven Dowideit
087bc6fd2d Convert install script to go
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:39:38 +00:00
Sven Dowideit
69d1077169 gpt disk in BIOS boot mode
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-14 22:04:31 +10:00
Sven Dowideit
7dc719148e plain syslinux with mbr works
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-14 21:01:58 +10:00
Sven Dowideit
528c39f238 replace fdisk with parted
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-14 14:58:38 +10:00
David Konsumer
64ec90fe3d GPT partition option
UNTESTED: This adds a `-g` flag to select gptmbr.bin for MBR image, allowing installation on a GPT harddrive.
2016-12-02 22:50:24 -08:00
Sven Dowideit
a4cf5b47b2 Changes needed to get the arm and arm64 builds working
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-25 10:10:21 +10:00
Josh Curl
2fc1d3fa5f
Add noformat and RAID installer types 2016-09-29 21:55:19 -07:00
Josh Curl
1731fc5642
Preserve custom kernel arguments when upgrading 2016-09-26 17:27:53 -07:00
Josh Curl
6b4222888c
Refactor state 2016-07-27 23:25:08 -07:00
Darren Shepherd
7dfece8f3d Add udev back to the installer 2016-06-29 23:51:05 -07:00
Darren Shepherd
327aa0964c Shrink installer a tiny bit 2016-06-28 15:28:51 -07:00
Josh Curl
45712bef22
Update SELinux files in installer 2016-06-17 09:13:40 -07:00
Ivan Mikushin
a640bdb758 Fix installer build 2016-06-14 10:29:38 -07:00
Darren Shepherd
e1d29fbab7 Bring back installer 2016-06-07 11:21:27 -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
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
5a8d0e7f34 Add --append to ros os upgrade to pass kernel args for --kexec 2016-03-22 12:16:06 -07:00
Ivan Mikushin
142ec23778 Build for ARM64 on ARM64, installer included 2016-03-14 12:08:11 -07:00
Josh Curl
9d46ab4df8 Kexec upgrade 2016-02-27 15:30:53 -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
Robbert Klarenbeek
c42d1b5716 Avoid hardcoded reference to /scripts 2015-11-25 18:33:24 +01: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
abf1203499 readme from os-installer 2015-09-14 19:38:16 +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
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
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
f1c7aa38c1 add rancher/os (os-installer) Dockerfile
and installer scripts
2015-08-14 18:23:50 +05:00