Advertisement
Guest User

Untitled

a guest
Apr 12th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. root@ubuntu4:~# cd /
  2. root@ubuntu4:/# ./kexec_nixos
  3. + set -e
  4. ++ mktemp -d
  5. + cd /tmp/tmp.lAhvTGC6vo
  6. + pwd
  7. /tmp/tmp.lAhvTGC6vo
  8. + mkdir initrd
  9. + pushd initrd
  10. /tmp/tmp.lAhvTGC6vo/initrd /tmp/tmp.lAhvTGC6vo
  11. + '[' -e /ssh_pubkey ']'
  12. + gzip -9
  13. + cpio -o -H newc
  14. + find -type f
  15. 1 block
  16. + popd
  17. /tmp/tmp.lAhvTGC6vo
  18. + cat /nix/store/y5x5yx5sz67ar18pjljp3hk4wypzhq66-image/initrd extra.gz
  19. + kexec -l /nix/store/y5x5yx5sz67ar18pjljp3hk4wypzhq66-image/kernel --initrd=final.gz '--append=init=/nix/store/8n02w8d8aymg0zwy99kg0iapm18ab95r-nixos-system-kexec-20.09pre219796.f601ab37c2f/init console=ttyS0,115200 panic=30 boot.panic_on_fail loglevel=4'
  20. + sync
  21. + systemctl kexec
  22. Connection to 127.0.0.1 closed by remote host.
  23. Connection to 127.0.0.1 closed.
  24.  
  25. [ixxie@laptop]$ ssh -p 2222 root@127.0.0.1
  26. Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-96-generic x86_64)
  27.  
  28. * Documentation: https://help.ubuntu.com
  29. * Management: https://landscape.canonical.com
  30. * Support: https://ubuntu.com/advantage
  31.  
  32. System information disabled due to load higher than 1.0
  33.  
  34.  
  35. 21 packages can be updated.
  36. 0 updates are security updates.
  37.  
  38.  
  39. Last login: Sun Apr 12 15:41:15 2020 from 10.0.2.2
  40. root@ubuntu4:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement