Using Conspy to View remote PC imaging progress


  • Testers

    Here is a Video showing an example.

    I prefer Centos so my instructions are based on Centos.

    # yum update && yum install conspy
    

    Follow the instructions here to modify the Init Image:
    Modifying the Init Image

    Once you have the init image extracted and mounted, add your ssh key.

    cd /var/www/{html,}/fog/service/ipxe/initmountdir
    cd root
    mkdir .ssh
    /bin/echo "==yoursshkeystringgoesbetweenthequotes==" >> .ssh/authorized_keys
    

    copy Conspy to the image:

    cp /usr/bin/conspy /var/www/{html,}/fog/service/ipxe/initmountdir/bin
    cp /usr/lib64/libncurses++.so.5 /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
    cp /usr/lib64/libncurses++.so.5.9 /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
    cp /usr/lib64/libncurses++w.so.5 /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
    cp /usr/lib64/libncurses.so.5 /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
    cp /usr/lib64/libncurses.so.5.9 /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
    cp /usr/lib64/libncursesw.so.5 /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
    cp /usr/lib64/libncursesw.so.5.9 /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
    cp /usr/lib64/libtinfo.so.5 /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
    cp /usr/lib64/libtinfo.so.5.9 /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
    

    Folow the instruction on how to re compress the image and your done.

    ssh to the PC and login as root.
    run the conspy command to view the progress.


 

512
Online

41.8k
Users

12.3k
Topics

116.1k
Posts