Created
December 11, 2016 17:53
-
-
Save cleverca22/0cdb51139d541123f3294fc01afaef2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[clever@amd-nixos:~/nix-tests/kexec]$ nix-build '<nixpkgs/nixos>' -A config.system.build.kexec_tarball -I nixos-config=./configuration.nix -Q -j 4 | |
[clever@amd-nixos:~/nix-tests/kexec]$ scp result/tarball/nixos-system-x86_64-linux.tar.xz 192.168.2.151:/tmp | |
The authenticity of host '192.168.2.151 (192.168.2.151)' can't be established. | |
ECDSA key fingerprint is SHA256:KzKwVYFJWgsXVs1tzp30uQrTplK7y3NhaDR92+cKZ48. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Warning: Permanently added '192.168.2.151' (ECDSA) to the list of known hosts. | |
clever@192.168.2.151's password: | |
nixos-system-x86_64-linux.tar.xz 100% 386MB 78.4MB/s 00:04 | |
[clever@amd-nixos:~/nix-tests/kexec]$ ssh 192.168.2.151 | |
clever@192.168.2.151's password: | |
Welcome to Ubuntu 16.10 (GNU/Linux 4.8.0-22-generic x86_64) | |
* Documentation: https://help.ubuntu.com | |
* Management: https://landscape.canonical.com | |
* Support: https://ubuntu.com/advantage | |
51 packages can be updated. | |
29 updates are security updates. | |
Last login: Sun Dec 11 13:31:58 2016 | |
clever@ubuntu:~$ sudo -i | |
[sudo] password for clever: | |
root@ubuntu:~# cd / | |
root@ubuntu:/# tar -xf tmp/nixos-system-x86_64-linux.tar.xz | |
root@ubuntu:/# cat ssh_pubkey | |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC34wZQFEOGkA5b0Z6maE3aKy/ix1MiK1D0Qmg4E9skAA57yKtWYzjA23r5OCF4Nhlj1CuYd6P1sEI/fMnxf+KkqqgW3ZoZ0+pQu4Bd8Ymi3OkkQX9kiq2coD3AFI6JytC6uBi6FaZQT5fG59DbXhxO5YpZlym8ps1obyCBX0hyKntD18RgHNaNM+jkQOhQ5OoxKsBEobxQOEdjIowl2QeEHb99n45sFr53NFqk3UCz0Y7ZMf1hSFQPuuEC/wExzBBJ1Wl7E1LlNA4p9O3qJUSadGZS4e5nSLqMnbQWv2icQS/7J8IwY0M8r1MsL8mdnlXHUofPlG1r4mtovQ2myzOx clever@nixos | |
root@ubuntu:/# ./kexec_nixos | |
[clever@amd-nixos:~/nix-tests/kexec]$ ssh root@192.168.2.151 | |
The authenticity of host '192.168.2.151 (192.168.2.151)' can't be established. | |
ED25519 key fingerprint is SHA256:E8IJ1Wa/P8FkTnVpGNGEImFYeDbRIVyvO82xPwL0+NI. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Warning: Permanently added '192.168.2.151' (ED25519) to the list of known hosts. | |
Last login: Sun Dec 11 18:13:11 2016 | |
[root@kexec:~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment