Commit Graph

16 Commits

Author SHA1 Message Date
Arnaud Lecomte
b56f024e6f Core of image's duplication feature 2023-08-25 13:54:39 +02:00
Jonathon Anderson
cac614a4b7 Correct handling of exclude patterns
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-09-11 19:25:40 -06:00
Carter Dodd
379faad51d Refactor of server, logging, building of images, template updates
* Combine provision response handling, add hwaddr and interface to dhcp
* Simplify stage cases, add backward compatible uri parse
* Move control of image compression to client
* Fix kernel search path for ubuntu, buffer template generation
* Implement cpio and gz as functions, add log named functions
* Generalize fs image creation routine
* Combine daemonLogf to generalized wwlog
* Fix template newline insertion, update dhcp and hosts tmpl
* Update IPXE template to handle non-compressed files
* Update DHCP template to set network interfaces and server IP assignment
* Update DHCP/hosts templates to choose a host-name self-consistently
2022-05-13 16:52:59 -05:00
jcsiadal
4260c97552 Fix container excludes
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-05-05 04:39:36 +00:00
Gregory Kurtzer
9edef29ebd Change exclude name to plural 2022-02-24 22:03:01 -08:00
Christian Goll
9bf492f79b moved exlucde file location and find -xdev 2022-02-03 09:48:11 +01:00
Christian Goll
2e44c51554 check if ./.ww4/exludes exist and use if 2022-01-31 15:05:11 +01:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Gregory Kurtzer
c60be743ba Update sources to use upstream errors package 2021-09-06 14:50:27 -07:00
Gregory Kurtzer
d9289f9f26 VNFS is current isn't an error 2021-08-20 18:43:14 -07:00
Gregory Kurtzer
4732868966 Slight modification to Yong's pigz conditional 2021-04-25 12:25:34 -07:00
Yong Qin
2e1017ca63 When available, use "pigz" to speedup compression. 2021-04-24 21:00:22 -07:00
Gregory Kurtzer
5a07ac2e14 Cleaned container.Build() return 2021-02-24 21:01:35 -08:00
Ian Kaneshiro
846b45524c Tidy up
- Ran goimports to format code and imports
- Removed unused module from go.mod
- Added .editorconfig to keep formatting standard across contributors
2021-02-16 11:54:12 -08:00
Gregory Kurtzer
62a1abaab3 Cleanups and minor fixups 2020-12-13 22:45:08 -08:00
Gregory Kurtzer
8c11c2b304 Renamed vnfs to container, finished VNFS and kernel refactoring 2020-12-06 00:47:00 -08:00