feat: show golden VM tag in clone list, add console logging, fix ubuntu boot
- Persist golden VM tag to clones/{id}/tag at spawn time
- GET /clones now returns [{id, tag}] objects instead of plain IDs
- Web UI renders tag as a dim label next to each clone entry (clone 3 · default)
- Pre-existing fixes included in this commit:
- console: tee all PTY output to clones/{id}/console.log for boot capture
- network: destroy stale tap before recreating to avoid EBUSY errors
- orchestrator: fix ubuntu systemd boot (custom fc-console.service, fstab,
mask serial-getty udev dep, longer settle time, correct package list)
- config: remove quiet/loglevel=0 from default boot args
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -62,6 +62,11 @@
|
||||
}
|
||||
.clone-entry button.destroy:hover { background: #2a1a1a; }
|
||||
.clone-entry button.destroy:disabled { color: #555; cursor: default; }
|
||||
.clone-tag {
|
||||
font-size: .72rem;
|
||||
color: #666;
|
||||
margin-left: .4rem;
|
||||
}
|
||||
|
||||
#index .none { color: #666; font-size: .9rem; }
|
||||
|
||||
@@ -183,11 +188,11 @@
|
||||
noneEl.style.display = 'none';
|
||||
const li = document.createElement('li');
|
||||
li.className = 'clone-entry';
|
||||
li.dataset.id = c;
|
||||
li.dataset.id = c.id;
|
||||
li.innerHTML =
|
||||
`<a href="/?id=${c}">clone ${c}</a>` +
|
||||
`<button class="destroy" title="Destroy clone ${c}">✕</button>`;
|
||||
li.querySelector('.destroy').addEventListener('click', () => destroyClone(c, li));
|
||||
`<a href="/?id=${c.id}">clone ${c.id}<span class="clone-tag">${c.tag}</span></a>` +
|
||||
`<button class="destroy" title="Destroy clone ${c.id}">✕</button>`;
|
||||
li.querySelector('.destroy').addEventListener('click', () => destroyClone(c.id, li));
|
||||
ul.appendChild(li);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user