Olli Janatuinen
6e80223672
Fixed issues found from v1.9.0-beta2
...
- Replaced default console with Debian console
- Included Project Burmilla to ros command info
- Fixed docker-machine compability
- Bump up kernel to 4.14.207
- Include /etc/lsb-release file to Debian console
- Updated ifconfig parsing command to match Debian console syntax
- Corrected Burmilla URLs
- Use fixed version of open-vm-tools
- Create /var/log/wtmp file on first boot so "last" command will works
- Use /etc/issue file as motd
- Support to create ISO file without firmware files
2021-02-18 20:08:53 +02:00
Olli Janatuinen
872f1cd6da
Initiate Burmilla OS project
...
- Use burmilla GitHub repos
- Release under burmilla Docker Hub
- GitHub action for create releases
- Updated boot image and login banner
- Use Debian as default console
- Updated system-cron to v0.5.0
- Updated services to latest versions
- Bump up kernel to 4.14.206
- Include burmilla/os-debianconsole:v1.9.0 to initrd
2021-02-18 20:07:36 +02:00
niusmallnan
a8cf965b2a
Rename stage to save for install cli args
2019-08-16 15:01:07 +08:00
niusmallnan
470c686bbc
Update os install logic
...
1. Fix a bug where install to a nvme disk
2. Remove unused code
3. Move cache services logic to os installer
2019-05-14 09:08:46 +02:00
Jason-ZW
125468664f
Cache services_include resources
2019-05-14 03:58:35 +02:00
niusmallnan
cd19f55edb
Fix ineffassign issues reported by goreportcard
2019-01-26 10:52:33 +08:00
niusmallnan
823ae28a52
Imports are organized in groups, with blank lines between them
...
https://github.com/golang/go/wiki/CodeReviewComments#imports
2018-10-23 13:11:31 +08:00
niusmallnan
ab4e0e590b
Fix a bug when installing ros to disk with noformat.
...
The cloud-config files cannot written to RANCHER_STATE disk when users
set the RANCHER_BOOT partition.
2018-10-15 17:43:21 +08:00
niusmallnan
90e88cf2b4
Add cloud-config for noformat install-type
2018-10-08 15:17:20 +08:00
niusmallnan
eeebf0ae0f
Mount the boot partition when booting
...
Also update StateDir and OemDir for better clarity
2018-09-30 15:09:51 +08:00
Darren Shepherd
1f50386828
Move around code for better clarity
2018-09-19 17:18:49 +08:00
niusmallnan
b4cd6af468
Update all go files mode
2018-04-16 11:30:08 +08:00
niusmallnan
2df6bdcd66
Add kernel.panic parameter for cmdline
2018-03-26 10:22:22 +08:00
niusmallnan
fc17e89393
Also check the label RANCHEROS ( #2285 )
2018-03-14 18:35:30 +08:00
niusmallnan
f6a76a10ae
Config ROS image prefix for install and all rancher/os services ( #2272 )
2018-03-06 18:07:21 +08:00
niusmallnan
a7ba5d045b
Remove system-docker syslink
2018-02-27 23:44:22 +08:00
Julien Kassar
82aaa413f5
Fix format 'verbs' ( #2115 )
2018-01-25 09:47:17 +08:00
niusmallnan
e58456ead9
Add more friendly error message for ros install ( #2225 )
2018-01-17 17:06:07 +08:00
niusmallnan
3b92e04065
Support URL when using ros install -c ( #2202 )
2018-01-02 17:17:43 +08:00
niusmallnan
7b474cd905
Fix golint check error
...
https://github.com/rancher/os/issues/2166
2017-12-06 13:45:49 +08:00
Sven Dowideit
f793518aa6
Get RancherOS logging to throw debug logs to a remote syslog server when the kernel netconsole is configured
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-08-17 08:42:37 +10:00
Sven Dowideit
b733bde9cd
add some better menu touches, make upgrade also upgrade to the menu, and add a ros config syslinux cmd for editing the global.cfg
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-10 11:29:04 +10:00
Sven Dowideit
340bb42160
add kexec previous
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-06 15:50:14 +10:00
Sven Dowideit
c5d4cb91c3
reboot --kexec almost works
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-06 10:40:15 +10:00
Sven Dowideit
bed064419b
fix ros-install version check for dev builds
...
Signed-off-by: Sven Dowideit <sven@y260.home.org.au>
2017-05-17 16:02:39 +10:00
Sven Dowideit
4602ccc2cb
Need to show the user we're doing something when formating large disks
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-05-11 23:44:45 +00:00
Sven Dowideit
a21c414ce1
Add debug to upgrade to track down why the global.cfg isn't persisting
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-24 19:05:10 +00:00
Sven Dowideit
2e9b86757b
go fmt
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-13 12:36:49 +00:00
Sven Dowideit
73617b8a5a
pass on the statedir and partition parameters to the inner installer images
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-13 12:36:49 +00:00
Sven Dowideit
79719e74c8
statedir and noformat together to keep base OS
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-13 12:36:49 +00:00
Sven Dowideit
ac5cb304d6
Call dhcp release on interfaces that are dhcp:false
...
and then remove any non-specified IP addresses from them too
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-03 09:25:55 +00: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
1356e609b3
Merge pull request #1743 from rancher/v0.8.x
...
fix downgrade from 0.8/0.9 to 0.7, and back again
2017-04-01 21:52:32 +10: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
2f28a00e02
Don't need host dev mount for pre-created partition
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-27 00:59:11 +00:00
Sven Dowideit
53c88bc505
Merge pull request #1724 from rancher/docker-container-install-to-partition
...
Fixed install --partition and added scripts/run-install to use it in …
2017-03-26 22:22:19 +10:00
Sven Dowideit
59a752c306
Use the partial cfg for the initial network
...
and release the network device from dhcp if we're not using it
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-26 11:49:14 +00:00
Sven Dowideit
15699a253c
Fixed install --partition and added scripts/run-install
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-24 12:39:40 +00:00
Sven Dowideit
ab3c508a39
fix for alpine's simpler blkid cmd
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-23 01:31:35 +00:00
Sven Dowideit
1e5baa57da
Try RANCHER_BOOT first, and if that's not preset, use rancher.state.dev and then RANCHER_STATE
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-14 06:28:05 +00:00
Sven Dowideit
2d92956c82
Revert "WIP New ros cli"
2017-03-14 12:11:24 +10:00
Sven Dowideit
dc540a0cf0
get started on the new cli
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 12:56:54 +00:00
Sven Dowideit
27f11ec6c2
set the permissions for /var/lib/rancher/conf to 0700
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 11:44:47 +00:00
Sven Dowideit
8080d01ac9
Throw error if running install / upgrade on non-amd64
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 11:44:46 +00:00
Sven Dowideit
e80342d369
Don't prompt / reboot if there was an install error
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 16:36:50 +10:00
Sven Dowideit
be9874d2f4
use the rancher.state.dev cfg to detect where we're installing
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 05:32:45 +00:00
Sven Dowideit
acc72e634e
Don't complain if there is no cloud-config supplied when upgrading
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-22 05:22:38 +00:00
Sven Dowideit
9a75d2d5b4
hashicorp version pkg uses alpha sort on -rc11 metadata - so switching to Josh's catalog pkg
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-10 00:38:22 +00:00
Sven Dowideit
892a17bdbf
Fix upgrading from a rolled back upgrade
...
and reduce the verbosity of the non-debug output
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-09 13:22:31 +00:00
Sven Dowideit
fc96f75c35
add upgrade with non-default console installed
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-30 21:33:54 +10:00