[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [atomic-devel] update without full reboot
- From: Colin Walters <walters verbum org>
- To: Vasiliy Tolstov <v tolstov selfip ru>
- Cc: atomic-devel projectatomic io
- Subject: Re: [atomic-devel] update without full reboot
- Date: Fri, 05 Aug 2016 14:00:26 -0400
On Fri, Aug 5, 2016, at 12:55 PM, Vasiliy Tolstov wrote:
Thanks,do you have any plans to do this?
I just tested this on the latest CentOS AH, and it worked:
First, deploy the older version:
# atomic host status
...
* 2016-07-07 21:23:41 7.20160707 cd47a72eb5 centos-atomic-host centos-atomic-host:centos-atomic-host/7/x86_64/standard
# atomic host deploy 7.20160610
...
# atomic host status
2016-06-10 13:15:00 7.20160610 3c3786d1dd centos-atomic-host centos-atomic-host:centos-atomic-host/7/x86_64/standard
* 2016-07-07 21:23:41 7.20160707 cd47a72eb5 centos-atomic-host centos-atomic-host:centos-atomic-host/7/x86_64/standard
Now, looking at /boot/loader/grub.cfg (or /boot/loader) we can figure out the kernel/initrd:
# kexec -l /boot/ostree/centos-atomic-host-5f3ab890b70e1a7a1eaa4a698fb9ad84b34944f79e328f22a2e40c77d8d7b2f6/vmlinuz-3.10.0-327.18.2.el7.x86_64 --initrd /boot/ostree/centos-atomic-host-5f3ab890b70e1a7a1eaa4a698fb9ad84b34944f79e328f22a2e40c77d8d7b2f6/initramfs-3.10.0-327.18.2.el7.x86_64.img --command-line="no_timer_check console=tty1 console=ttyS0,115200n8 crashkernel=auto rd.lvm.lv=atomicos/root root=/dev/mapper/atomicos-root ostree=/ostree/boot.1/centos-atomic-host/5f3ab890b70e1a7a1eaa4a698fb9ad84b34944f79e328f22a2e40c77d8d7b2f6/0"
# kexec -e
...
$ vagrant ssh
# atomic host status
TIMESTAMP (UTC) VERSION ID OSNAME REFSPEC
* 2016-06-10 13:15:00 7.20160610 3c3786d1dd centos-atomic-host centos-atomic-host:centos-atomic-host/7/x86_64/standard
2016-07-07 21:23:41 7.20160707 cd47a72eb5 centos-atomic-host centos-atomic-host:centos-atomic-host/7/x86_64/standard
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]