opnsense-src/libexec/nuageinit/tests/Makefile
Baptiste Daroussin 19a7ea3cc4 nuageinit: implement write_files
write_files is a list of files that should be created at the first boot

each file content can be either plain text or encoded in base64 (note
that cloudinit specify that gzip is supported, but we do not support it
yet.)

All other specifier from cloudinit should work:
by default all files will juste overwrite exesiting files except if
"append" is set to true, permissions, ownership can be specified.
The files are create before packages are being installed and user
created.

if "defer" is set to true then the file is being created after packages
installation and package manupulation.

This feature is requested for KDE's CI.
2025-06-26 13:47:37 +02:00

21 lines
442 B
Makefile

PACKAGE= tests
.PATH: ${SRCTOP}/usr.sbin/pw/tests
BINDIR= ${TESTSDIR}
PROGS= crypt
LIBADD= crypt
ATF_TESTS_SH= nuage utils nuageinit
${PACKAGE}FILES+= addgroup.lua
${PACKAGE}FILES+= addsshkey.lua
${PACKAGE}FILES+= adduser.lua
${PACKAGE}FILES+= adduser_passwd.lua
${PACKAGE}FILES+= dirname.lua
${PACKAGE}FILES+= err.lua
${PACKAGE}FILES+= sethostname.lua
${PACKAGE}FILES+= warn.lua
${PACKAGE}FILES+= addfile.lua
.include <bsd.test.mk>