TWiki> DiyDice Web>DiyDiceRoaming (revision 3)EditAttach

DIY DICE roaming Work In Progress

A normal DIY DICE machine (including one running as a VMware guest) will only function when connected to the DICE network; this is because it relies on the DICE infrastructure, eg. for account details and passwords. For a DIY DICE machine to "roam" it must be configured to use local user accounts and home directories; you can use the ADD_LOCAL_ACCOUNT macro to do this for you.

  • install as per instructions for non roaming machine
  • modify LCFG profile
  • make sure profile received
  • reboot and check still working
  • powerdown and convert VMware guest to using NAT rather than bridged network
  • reboot and check still working

  • updaterpms no longer runs at boot - need to run manually --- "/usr/bin/lcfg-update"
  • cron jobs ---- "/usr/bin/lcfg-update"
  • profile changes will take longer as won't receive notifies from LCFG server
  • need to use fully qualified DNS for inf hosts
  • probably want to set root passwd so can debug problems when roaming.
  • use ADD_LOCAL_ACCOUNT(account,passwd entry) to add an account
  • use ADD_LOCAL_USER(account, passwd entry) to add an account, allow it to login and create a homedirectory
  • use "openssl passwd -1" to create an encryted passwd from a plaintext passwd.

/* */

#define _AUTH_USER      ascobie
#define _ROOTPWD        $1$dGuACWLX$3v0CQOnlV40Nubos4lL2h3

#include <diydice/os/sl5.h>
#include <dice/hw/vmware_ws6.h>
#include <dice/options/roaming.h>

dhclient.mac            00:0c:29:ef:f9:be

ADD_LOCAL_USER(ascobie,ascobie:$1$wfkbl7fnU$.V1slVPpm0lwPfAEKLICe0:28000:10000:Alastair Scobie:/home/ascobie:/bin/bash)
ADD_LOCAL_USER(carol,carol:$1$UCQ8wGBp6$QothIVQYNn/i0NnPr7eMa.:28896:10000:Carol Dow:/home/carol:/bin/bash)

-- AlastairScobie - 03 Dec 2008

Edit | Attach | Print version | History: r7 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 12 Jan 2009 - 14:19:24 - AlastairScobie
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies