hi all,
how to export image from VM in MetaRouter?
opkg install tar
cd /
tar zcvf /tmp/newimage.tgz --exclude proc/\* --exclude sys/\* --exclude tmp/\* .
scp /tmp/newimage.tgz user@anotherhost:/tmp/.
This is how I've been doing it for openwrt images.. not a very good way.. but its all I've got.
install tarcreate imageCode: Select allopkg install tar
put newimage.tgz on the mikrotik router you'd like to create a metarouter on, and "import" it.Code: Select allcd / tar zcvf /tmp/newimage.tgz --exclude proc/\* --exclude sys/\* --exclude tmp/\* . scp /tmp/newimage.tgz user@anotherhost:/tmp/.
hope that helps..
Sam.
cd /
ls /tmp/* /proc/* /sys/* > /tmp/exclude
tar zcvf /tmp/newimage.tgz -X /tmp/exclude .
./proc/*
./sys/*
./tmp/*
You are funny, NathanWhat Openwrt images and repo are you using out of interest?
Oh, man...how embarrassing. My bad. I apparently skimmed over that, and you didn't quote it in your response, so at first glance it looked like it totally came from left field, as if somebody had necro'd a months-old thread that they hadn't previously been participating in by posting something completely unrelated to it.It was an answer to this question: [snip]
You are right. Excuse me. Next time I will do it....you didn't quote it in your response...
I did this procedure and a funny thing happened. The metarouter created is a a RouterOSThis is how I've been doing it for openwrt images.. not a very good way.. but its all I've got.
install tarcreate imageCode: Select allopkg install tar
put newimage.tgz on the mikrotik router you'd like to create a metarouter on, and "import" it.Code: Select allcd / tar zcvf /tmp/newimage.tgz --exclude proc/\* --exclude sys/\* --exclude tmp/\* . scp /tmp/newimage.tgz user@anotherhost:/tmp/.
hope that helps..
Sam.
MikroTik 6.7
MikroTik Login: