# Functions
CopyFile copies both files and directories.
Creates the /var/lib/firecracker/{vm,image,kernel} directories.
This is a light weight handler to capture errors during detach that would otherwise be silently ignored.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FileIsEmpty returns true if the file is empty.
FIPSEnabled returns true if running in FIPS mode.
GenericCheckErr is used by the commands to check if the action failed and respond with a fatal error provided by the logger (calls os.Exit) Ignite has its own, more detailed implementation of this in cmdutil.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Fills the given string slice with unique MAC addresses.
No description provided by the author
NewPrefixer returns an immutable prefixer for a specific purpose ex: idPrefix is used to prefix vm, container, and snapshot file/device names.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WriteFileIfChanged stores a sha of data at <filename>.sha256 and determines whether to rewrite the file; it has the same signature as ioutil.WriteFile().