PLDWWW: Vserver

glen glen at pld-linux.org
Thu May 8 15:26:59 CEST 2008


Author: glen   Date: Thu May  8 13:26:59 2008 GMT
Module: PLDWWW   URL: http://www.pld-linux.org/Vserver?action=diff&rev2=108&rev1=107
---- Log message:


---- Page affected: Vserver

---- Diffs:

================================================================
  {{{
  # cp /usr/lib/util-vserver/distributions/defaults/rpm/platform \
    /etc/vservers/<NAME>/apps/pkgmgmt/base/rpm/etc/platform
+ }}}
+ 
+ or you can run this script to update all vservers:
+ {{{
+ #!/bin/sh
+ 
+ p=/usr/lib*/util-vserver/distributions/defaults/rpm/platform
+ for a in /etc/vservers/*/apps/pkgmgmt/base/rpm/etc/macros; do
+     f=${a%/macros}/platform
+     [ ! -f "$f" ] || continue
+     cp $p $f
+ done
  }}}
  
  it doesn't affect newly created vservers.


More information about the pld-cvs-commit mailing list