Changeset 5076


Ignore:
Timestamp:
Jun 5, 2017, 2:43:06 PM (2 years ago)
Author:
hectorgh
Message:

making sure nbd-server is restarted no matter the result

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lmd/trunk/fuentes/lmd-server.install/usr/share/n4d/python-plugins/LmdServer.py

    r3670 r5076  
    7676                                # if template exists, create an image
    7777                                print "[LmdServer] Create_imageWS from "+path
    78                                 command="ltsp-build-client --config "+path+" "+extraLliurexOpts+" --chroot "+imgid+"&& service nbd-server restart && ltsp-set-domain-search-ltsconf";
     78                                command="ltsp-build-client --config "+path+" "+extraLliurexOpts+" --chroot "+imgid+"; systemctl restart nbd-server; ltsp-set-domain-search-ltsconf";
    7979                               
    8080                                ret=objects['TaskMan'].newTask(command);
     
    241241                        command=arch + " ltsp-chroot -p -m -a "+imgid+" dpkg-reconfigure libgl1-mesa-dri ;  "
    242242                        command=command + arch + " ltsp-chroot -p -m -a "+imgid+" /usr/share/ltsp/update-kernels && "
    243                         command=command + arch +" ltsp-update-kernels "+imgid+" && " + arch + " ltsp-update-image "+imgid+"&& service nbd-server restart && ltsp-set-domain-search-ltsconf";
     243                        command=command + arch +" ltsp-update-kernels "+imgid+" && " + arch + " ltsp-update-image "+imgid+"; systemctl restart nbd-server; ltsp-set-domain-search-ltsconf";
    244244                               
    245245                        # Let's rebuild image
Note: See TracChangeset for help on using the changeset viewer.