I ran into a small problem with xendomain saving and restoring domains on shutdown. It turns out the obscure unix command
cut was to blame.

the way that /etc/init.d/xendomains reads from xm list is to use this cut command:

cut -c0-19

I got it to work by changing that to

cut -f1 -d' '

and replace the $rest with

cut -f2- -d' '

Hope this helps someone (even if it’s just me in the future!)

Average Rating: 4.9 out of 5 based on 269 user reviews.

One thought on “”

  1. Thanks a lot! That’s exactly what I was looking for. Do you know why this still isn’t fixed in Debian Repositories?
    Does not everybody have this problem?

    What does this fix exactly? Never heard of “cut” before.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>