[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] virt-ls windows



okei ... big success


i would certainly need a rest and i have to put down some notes
(perhaps to a blog post or a wiki page)


If anybody need to do something like this, must have in mind the non
"interactive" limitation.


So to work with rsync, you have to setup ssh.


sudo virt-rescue --network --ro -d win2003

[root@(none) /]# fdisk -l
[root@(none) /]# mount /dev/vda1 /media/


[root@(none) /]# ip a
[root@(none) /]# ip r

[root@(none) /]# mkdir /root/.ssh/
[root@(none) /]# cd /root/.ssh/

[root@(none) /]# cat > id_dsa << EOF
mpla mpla mpla
EOF

[root@(none) /]# chmod 0600 *


[root@(none) /]# ssh -o 'StrictHostKeyChecking no' ebal 169 254 2 2  -vv
...


[root@(none) /]# rsync /media/boot.ini -e 'ssh -o
StrictHostKeyChecking=no' ebal 169 254 2 2:/tmp/boot.ini




just amazing !


-- 
Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]