On 02/19/2013 11:53 PM, Serge Hallyn wrote:
>
>
> At this point, there will be a /var/lib/lxc/ltest/config which will
> list lxc.rootfs = /var/lib/lxc/ltest/rootfs.  So these steps are not
> quite what you want.
>
> Perhaps you just want to
>
>       sudo lxc-create -n ltest -t ubuntu
>       sudo mkdir -p /data/lxc/ltest
>       sudo mv /var/lib/lxc/ltest/rootfs /data/lxc/ltest/
>       sudo sed -i 's/@/var/lib/lxc@/data/lxc@' /var/lib/lxc/ltest/config
>       sudo lxc-start -n ltest
>       [ check mac address ]
>       sudo lxc-stop -n ltest
>       [ change mac address in config ]
>       sudo lxc-start -n ltest
>       [ check mac address ]


You're right. Certainly I missed sed from steps.

tamas



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to