TritonDataCenter / TritonDataCenter/pkgsrc-joyent

Allow bypassing default 10 s timeout in `sm-prepare-image -y`

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
32
Forks
28
PR merge metrics
No merged PRs in 30d

Description

There seems to be no publicly documented way of bypassing the default 10 s timeout in sm-prepare-image, even when passing -y.

(I think) this is possible to work around by passing private variables like: yn_start=y yn_nfs=y yn_subips=y yn_halt=n sm-prepare-image && poweroff.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the sm-prepare-image entry point and inspect how the default 10 s timeout and -y option are handled. Determine whether the timeout should be bypassed or exposed through a documented public option, then verify that the command can complete without the timeout prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.