$ 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.
@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 etc/nsswitch. conf - | pastebinit paste.ubuntu. com/p/7rpZ2N4gr n/
Creating my-test
$ lxc file pull my-test/
http://
$ lxc start my-test
$ lxc exec my-test -- cloud-init status --wait ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....
.......
status: done
$ lxc file pull my-test/ etc/nsswitch. conf - doc-reference' and `info' packages installed, try:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-
# `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