Ignore:
Timestamp:
Dec 21, 2016, 1:34:25 PM (3 years ago)
Author:
kbut
Message:

add script to set search domain

File:
1 edited

Legend:

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

    r3135 r3136  
    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";
     78                                command="ltsp-build-client --config "+path+" "+extraLliurexOpts+" --chroot "+imgid+"&& service nbd-server restart && ltsp-set-domain-search-ltsconf";
    7979                               
    8080                                ret=objects['TaskMan'].newTask(command);
     
    230230                        command=arch + " ltsp-chroot -p -m -a "+imgid+" dpkg-reconfigure libgl1-mesa-dri ;  "
    231231                        command=command + arch + " ltsp-chroot -p -m -a "+imgid+" /usr/share/ltsp/update-kernels && "
    232                         command=command + arch +" ltsp-update-kernels "+imgid+" && " + arch + " ltsp-update-image "+imgid+"&& service nbd-server restart";
     232                        command=command + arch +" ltsp-update-kernels "+imgid+" && " + arch + " ltsp-update-image "+imgid+"&& service nbd-server restart && ltsp-set-domain-search-ltsconf";
    233233                               
    234234                        # Let's rebuild image
Note: See TracChangeset for help on using the changeset viewer.