Comment 9 for bug 1796137

Revision history for this message
Scott Moser (smoser) wrote :

@Stgraber,
I'm not sure why you wouldnt' have just done this yourself, so maybe I'm
missing your request.

$ lxc init ubuntu-daily:cosmic my-test
Creating my-test
$ lxc file pull my-test/etc/nsswitch.conf - | pastebinit
http://paste.ubuntu.com/p/7rpZ2N4grn/

$ lxc start my-test

$ lxc exec my-test -- cloud-init status --wait
......................................................................................................
status: done

$ lxc file pull my-test/etc/nsswitch.conf -
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: files systemd
group: files systemd
shadow: files
gshadow: files

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis