1
0
mirror of https://github.com/rancher/os.git synced 2025-08-22 08:35:38 +00:00
Commit Graph

326 Commits

Author SHA1 Message Date
Olli Janatuinen
d1ffbcabc3 Optimize kernel parameters
- Reserve 64 MB memory for admin
- Set vm.max_map_count=262144 which is needed by ElasticSearch
- Set fs.inotify.max_user_watches=104857 which is needed by Cadvisor
- Use memory settings based on Nutanix guidance
2021-02-18 20:14:11 +02:00
Olli Janatuinen
94e85d2d8a Enable Bash colors 2021-02-18 20:14:02 +02:00
Olli Janatuinen
1fb4bcb505 Boot banner correction + code cleanup 2021-02-18 20:13:40 +02:00
Olli Janatuinen
50dcc4b7ba Release v1.9.0
- Bump up kernel to 4.14.211
- Bump up default Docker version to 19.03.14
- Include v1.9.0 tag
- Fix sudo ros config syslinux command
2021-02-18 20:13:15 +02:00
Olli Janatuinen
2c8a40b547 Make docker-compose command available on console 2021-02-18 20:11:50 +02:00
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
3961aa6855 Fix the wrong symlinks when using the custom docker engine 2019-08-15 15:21:09 +08:00
niusmallnan
1893c7863b Fix display problem with ros engine list 2019-08-14 16:04:08 +08:00
niusmallnan
7a5420e8bb Support docker 19.03+ 2019-08-02 16:09:43 +08:00
niusmallnan
65c97ea462 Cache the console and engine service when installing to disk 2019-06-18 05:25:26 +02:00
niusmallnan
41b562c01f Use double-quoted string for writing proxy.sh
Presence of special characters (i.e. &) in proxy environment values causes generation of an invalid /etc/profile.d/proxy.sh file.
This is a problem due to the common inclusion of special characters in passwords and proxy strings of the format htt[p|s]://user:pass@url:port.
2019-05-28 09:32:38 +02:00
niusmallnan
679fc1a208 Autoload the predefined user images 2019-05-16 10:04:20 +02: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
4546fac3c2 Keep the sshd config file when using the previous console version 2019-04-30 05:28:04 +02:00
niusmallnan
7ff814f89c Remove unused entryponts in Main func 2019-03-18 16:56:17 +08:00
Jason-ZW
6735a98447 Add /run/utmp file 2019-03-11 13:11:43 +08:00
Jason-ZW
67ee26adda Re-add input from stdin 2019-03-11 13:03:57 +08:00
Jason-ZW
bfd9baa280 Check user-docker backingFS 2019-03-11 12:22:09 +08:00
Jason-ZW
66cffc0a91 Support service cache update 2019-02-27 10:06:09 +08:00
niusmallnan
cb1e6cc1d1 Generate sshd_config by go template 2019-02-05 15:52:23 +08:00
niusmallnan
cd19f55edb Fix ineffassign issues reported by goreportcard 2019-01-26 10:52:33 +08:00
Jason-ZW
ee23fda1a3 Add CR/LF check 2019-01-24 11:27:01 +08:00
Jason-ZW
24229f0dec Add prompt message to ros os upgrade 2019-01-10 18:12:25 +08:00
Jason-ZW
f30b6f4df2 Add docker-18.09.0 2019-01-07 15:48:51 +08:00
hailong
4d834140d0 Add docker Bash completion for other consoles 2019-01-02 13:17:38 +08:00
niusmallnan
d8953c34a8 Remove the default value of ssh-port in OUD feature 2018-12-24 16:24:23 +08:00
niusmallnan
1b15e7ae36 Move multiple user-docker images to rancher/os-dind 2018-12-13 10:51:49 +08:00
niusmallnan
733c2f0667
Merge pull request #2595 from Jason-ZW/add-4glte-support
Add 4glte support
2018-12-12 13:32:22 +08:00
niusmallnan
6dd6b2760b Hide the selinux command 2018-12-12 11:49:04 +08:00
Jason-ZW
99118f5fad Add 4glte support 2018-12-12 11:28:45 +08:00
niusmallnan
fe17440898
Merge pull request #2545 from bernard-wagner/lvm-crypt
Added LVM and LUKS
2018-12-11 13:52:08 +08:00
niusmallnan
b419db198c Make /run/lock dir in console 2018-12-07 14:11:00 +08:00
niusmallnan
cf3535458e Stop docker and console first to avoid zombie processes 2018-11-26 18:30:36 +08:00
niusmallnan
3c998bef45 Clean up udevd zombie process 2018-11-23 22:48:12 +08:00
niusmallnan
922fd63f61 Add iptables symlinks in console 2018-11-01 18:03:20 +08:00
Bernard Wagner
900c57b8c9 Added LVM and LUKS 2018-10-31 15:36:59 +02:00
niusmallnan
0e35ee7e53 Use /dev/urandom as random number input for rngd
As /dev/hwrng may not exist in some environments
2018-10-29 10:12:06 +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
7c13d76066 Check the tty before adding to respawn.conf 2018-10-18 13:33:43 +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
Jason-ZW
4cb09e2ac6 Add friendly tips on ros config syslinux 2018-10-10 10:06:08 +08:00
niusmallnan
90e88cf2b4 Add cloud-config for noformat install-type 2018-10-08 15:17:20 +08:00
Jason-ZW
1ffab0c1e1 Get all services via ros service list --all 2018-10-08 14:53:26 +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
d7f47925a1 Start rngd before format the disk 2018-09-14 16:48:54 +08:00
Jason-ZW
6a676a9b82 Option to ignore rancher.password 2018-08-22 13:41:12 +08:00