Changes between Version 23 and Version 24 of ChefNotes


Ignore:
Timestamp:
Feb 17, 2015 2:58:19 PM (9 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChefNotes

    v23 v24  
    21213. ---
    2222   a. data map to file/script
    23       * user accounts: A file named {{{accounts.yaml}}} is created by {{{setup/qemu/30_accounts_to_yaml.py}}} during node setup. This script calls out to the tmcd system to get the account information. So this information is retrieved on the pnode at swap in. It is not static. See [wiki:ContainerFilesDoc#bootstrap_call_tree this section of the Containers Files Wiki page] for information about where and when that happens.
     23      * user accounts: A file named {{{accounts.yaml}}} is created by {{{setup/qemu/30_accounts_to_yaml.py}}} during node setup. This script calls out to the tmcd system to get the account information. So this information is retrieved on the pnode at swap in. It is not static. See [wiki:ContainerFilesDoc#bootstrap_call_tree this section of the Containers Files Wiki page] for information about where and when that happens. The {{{accounts.yaml}}} file is then read by {{{setup/qemu/35_yaml_to_passwd.py}}} which converts the yaml into /etc/passwd format. Then setup/qemu/50_root_fs.py}}}, a script which mounts the qemu node disc and configures the qemu instance by writing to the disc image, copies the gnerated {{{/etc/passwd}}} to {{{/etc/passwd}}} in the qemu image's file system.
    2424      * local mounts (including user:~): A file named {{{file_system.yaml}}} is created by {{{setup/qemu/40_file_systems.py}}} just after node swapin (on the pnodes). This file looks a the locally mounted file systems put there by DETER via  a call to {{{mount -a}}}. It parses the output looking for hardcoded strings "users", "/proj", "/share", and "/groups". So it leverages existing DETER mechanisms that configure the pnode. No static information.
    2525