mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
First attempt at cloudinit support
Experimental
This commit is contained in:
parent
2e5cc7508a
commit
8f9fbcffeb
8 changed files with 199 additions and 32 deletions
|
@ -112,7 +112,7 @@ public:
|
|||
/*
|
||||
* Enable image customization
|
||||
*/
|
||||
void setImageCustomization(const QByteArray &config, const QByteArray &cmdline, const QByteArray &firstrun);
|
||||
void setImageCustomization(const QByteArray &config, const QByteArray &cmdline, const QByteArray &firstrun, const QByteArray &cloudinit, const QByteArray &cloudinitNetwork, const QByteArray &initFormat);
|
||||
|
||||
/*
|
||||
* Thread safe download progress query functions
|
||||
|
@ -164,7 +164,7 @@ protected:
|
|||
curl_off_t _startOffset;
|
||||
std::atomic<std::uint64_t> _lastDlTotal, _lastDlNow, _verifyTotal, _lastVerifyNow, _bytesWritten;
|
||||
qint64 _sectorsStart;
|
||||
QByteArray _url, _useragent, _buf, _filename, _lastError, _expectedHash, _config, _cmdline, _firstrun;
|
||||
QByteArray _url, _useragent, _buf, _filename, _lastError, _expectedHash, _config, _cmdline, _firstrun, _cloudinit, _cloudinitNetwork, _initFormat;
|
||||
char *_firstBlock;
|
||||
size_t _firstBlockSize;
|
||||
static QByteArray _proxy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue