this is slightly confusing the script is run in dom  in the context of install os domu sh but it is run to customize the image of a ubuntu vm  it sounds like it runs in the live ubuntu vm  or that was my first assumption 