summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
authorDaniel Watkins <daniel@daniel-watkins.co.uk>2019-08-22 21:07:16 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-08-22 21:07:16 +0000
commita3926bffc985e5d39056858f65259a4ac438c037 (patch)
tree9efddf56da59de445735f2cf512e12dd18f8a338 /cloudinit/sources
parente6383719c1adccf20b5c21cfba1c5a2462d663a2 (diff)
downloadvyos-cloud-init-a3926bffc985e5d39056858f65259a4ac438c037.tar.gz
vyos-cloud-init-a3926bffc985e5d39056858f65259a4ac438c037.zip
net/cmdline: refactor to allow multiple initramfs network config sources
This refactors read_initramfs_config to support multiple different types of initramfs network configuration. It introduces an InitramfsNetworkConfigSource abstract base class. There is currently a single sub-class, KlibcNetworkConfigSource, which contains the logic which previously was directly within read_initramfs_config.
Diffstat (limited to 'cloudinit/sources')
0 files changed, 0 insertions, 0 deletions