-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Callers, including production manufacturing software, currently rely on hiffy for setting host boot options. It would help to have a stable, committed interface here.
Examples:
#
# The SP needs to be told, now, to boot from the network.
#
if ! "$HUMILITY" hiffy -c ControlPlaneAgent.set_startup_options \
-a startup_options=0x80; then
printf 'ERROR: setting system boot source failed.\n' >&2
exit 1
fi
@retry(count=3, sleep=1)
def enable_netboot(self):
logging.info('Enabling net boot for target %s', self.target)
cmd = ['pfexec', 'humility', '-t', self.target, 'hiffy',
'-c', 'ControlPlaneAgent.set_startup_options', '-a',
'startup_options=0x198']
output_on_err(cmd)
Metadata
Metadata
Assignees
Labels
No labels