Skip to content

OS install documentation - #123

Merged
bubacoder merged 3 commits into
mainfrom
os-install
Apr 23, 2025
Merged

OS install documentation#123
bubacoder merged 3 commits into
mainfrom
os-install

Conversation

@bubacoder

@bubacoder bubacoder commented Apr 23, 2025

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • New Features
    • Added a runbook for reinstalling a Docker host using VM disk replacement.
    • Introduced new documentation for running Haiku OS and macOS as virtual machines in Proxmox, including resource links and guides.
  • Documentation
    • Updated instructions for creating Ubuntu Server VMs to reference the latest LTS version.
  • Chores
    • Updated OpenWRT and Ubuntu Server VM creation scripts to use newer release versions.

@coderabbitai

coderabbitai Bot commented Apr 23, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

The changes introduce new documentation and update existing scripts in the repository. A new runbook has been added detailing a procedure to reinstall a Docker host by deploying a new VM with a fresh OS and then reassigning the system disk to the old VM. Additionally, two new markdown files provide introductory guides for running Haiku OS and macOS VMs on Proxmox, including resource links. The shell scripts for creating OpenWRT and Ubuntu Server VMs on Proxmox are updated to reference newer OS versions. No changes to code logic or exported entities were made, except for version constant updates.

Changes

File(s) Change Summary
docs/runbooks.md Added a detailed runbook for reinstalling a Docker host by deploying a new VM and reassigning disks.
proxmox/haiku-os.md, proxmox/macos.md Added new markdown documentation for running Haiku OS and macOS VMs on Proxmox, with resource links.
proxmox/create-openwrt-vm.sh Updated OpenWRT version constant from 23.05.3 to 24.10.1 for image download.
proxmox/create-ubuntu-server-vm.sh Updated Ubuntu version constant from 24.04.1 to 24.04.2 and revised a related comment.

Sequence Diagram(s)

sequenceDiagram
    participant Admin
    participant ProxmoxVE as PVE Host
    participant OldVM as OLD (Old Docker Host)
    participant NewVM as NEW (New VM with fresh OS)

    Admin->>ProxmoxVE: Deploy new VM (NEW) with fresh OS
    Admin->>NewVM: Apply Ansible configuration
    Admin->>NewVM: (Optional) Transfer container images and server host key
    Admin->>NewVM: Create and mount storage directory
    Admin->>NewVM: Shutdown NEW VM
    Admin->>ProxmoxVE: Reassign disk ownership from NEW to OLD
    Admin->>ProxmoxVE: Adjust boot order to prioritize new disk
    Admin->>OldVM: Start OLD VM with new system disk
    Admin->>OldVM: Create symlink to repositories
    Admin->>OldVM: Start Docker services
    Admin->>ProxmoxVE: Delete NEW VM after verification
Loading

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (5)
proxmox/macos.md (1)

5-5: Convert bare URL to markdown link. Wrap the repository URL in link syntax for better readability:

- https://github.com/luchina-gabriel/OSX-PROXMOX
+ [OSX-PROXMOX GitHub Repository](https://github.com/luchina-gabriel/OSX-PROXMOX)
proxmox/haiku-os.md (3)

3-3: Refine adjective usage. Consider removing or replacing "very" to strengthen the description (e.g., use "powerful" or "extremely powerful").

🧰 Tools
🪛 LanguageTool

[style] ~3-~3: As an alternative to the over-used intensifier ‘very’, consider replacing this phrase.
Context: ...t, simple to use, easy to learn and yet very powerful. Download: https://www.haiku-os.org/ge...

(EN_WEAK_ADJECTIVE)


5-5: Convert bare URL to markdown link. Use link syntax for consistency:

- Download: https://www.haiku-os.org/get-haiku/r1beta5/release-notes/
+ Download: [Haiku R1 Beta 5 Release Notes](https://www.haiku-os.org/get-haiku/r1beta5/release-notes/)
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

5-5: Bare URL used
null

(MD034, no-bare-urls)


7-7: Convert bare URL to markdown link. Use link syntax for consistency:

- Use with Proxmox: https://www.haiku-os.org/guides/virtualizing/proxmox/
+ Use with Proxmox: [Haiku Proxmox Virtualization Guide](https://www.haiku-os.org/guides/virtualizing/proxmox/)
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

7-7: Bare URL used
null

(MD034, no-bare-urls)

docs/runbooks.md (1)

33-33: Add missing comma for clarity. Insert a comma after "After verification":

- - PVE: After verification delete the temporary VM
+ - PVE: After verification, delete the temporary VM
🧰 Tools
🪛 LanguageTool

[uncategorized] ~33-~33: A comma might be missing here.
Context: ...using task docker:apply - PVE: After verification delete the temporary VM

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5643c28 and f1bc7d8.

📒 Files selected for processing (5)
  • docs/runbooks.md (1 hunks)
  • proxmox/create-openwrt-vm.sh (1 hunks)
  • proxmox/create-ubuntu-server-vm.sh (1 hunks)
  • proxmox/haiku-os.md (1 hunks)
  • proxmox/macos.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
proxmox/haiku-os.md

[style] ~3-~3: As an alternative to the over-used intensifier ‘very’, consider replacing this phrase.
Context: ...t, simple to use, easy to learn and yet very powerful. Download: https://www.haiku-os.org/ge...

(EN_WEAK_ADJECTIVE)

docs/runbooks.md

[uncategorized] ~33-~33: A comma might be missing here.
Context: ...using task docker:apply - PVE: After verification delete the temporary VM

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)

🪛 markdownlint-cli2 (0.17.2)
proxmox/haiku-os.md

5-5: Bare URL used
null

(MD034, no-bare-urls)


7-7: Bare URL used
null

(MD034, no-bare-urls)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: check
  • GitHub Check: build
🔇 Additional comments (9)
proxmox/create-openwrt-vm.sh (1)

6-6:

Details

❓ Verification inconclusive

Confirm OpenWRT version bump. The OPENWRT_VERSION has been updated to 24.10.1. Ensure this version exists and the download URL is valid.

You can verify with:


🏁 Script executed:

#!/bin/bash
curl -I https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/targets/x86/64/openwrt-${OPENWRT_VERSION}-x86-64-generic-ext4-combined.img.gz

Length of output: 831


Confirm OpenWRT version bump

I attempted to verify the download URL for 24.10.1 but received a 404. Please ensure this version is published and the URL is valid before merging.

• Test with:

curl -I https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/openwrt-24.10.1-x86-64-generic-ext4-combined.img.gz
proxmox/create-ubuntu-server-vm.sh (1)

6-8:

Details

✅ Verification successful

Confirm Ubuntu LTS version bump. Updated UBUNTU_VERSION to "24.04.2" and clarified the comment to reference the LTS releases site. Verify that the ISO exists and the download URL is correct.


🏁 Script executed:

#!/bin/bash
curl -I https://releases.ubuntu.com/${UBUNTU_VERSION}/${INSTALL_ISO}

Length of output: 561


Let’s verify the actual ISO URL directly:


🏁 Script executed:

#!/bin/bash
curl -I https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-live-server-amd64.iso

Length of output: 657


Ubuntu 24.04.2 ISO URL Validated

The URL https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-live-server-amd64.iso returns HTTP 200 OK, confirming the ISO exists and the download path is correct.

proxmox/macos.md (3)

1-2: Header is clear. No changes required.


3-3: Section heading is descriptive. No changes required.


7-7: Introductory text is clear. No changes required.

proxmox/haiku-os.md (2)

1-2: Header is clear. No changes needed.


9-14: List items appear accurate. No changes required.

docs/runbooks.md (2)

1-32: General structure is sound. No specific remarks for these lines.


34-34: Final step is clear. No changes required.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (6)
proxmox/haiku-os.md (3)

3-3: Remove redundant intensifier “very”.

Consider removing the word “very” to improve conciseness:

- easy to learn and yet very powerful.
+ easy to learn and yet powerful.
🧰 Tools
🪛 LanguageTool

[style] ~3-~3: As an alternative to the over-used intensifier ‘very’, consider replacing this phrase.
Context: ...t, simple to use, easy to learn and yet very powerful. - [Download R1 version](https://www.h...

(EN_WEAK_ADJECTIVE)


5-6: Enhance link text for clarity.

The text “[Download R1 version]” may be ambiguous; consider specifying the exact release:

- [Download R1 version](https://www.haiku-os.org/get-haiku/r1beta5/release-notes/)
+ [Download Haiku R1 Beta 5 release notes](https://www.haiku-os.org/get-haiku/r1beta5/release-notes/)

13-13: Ensure file ends with a newline.

Add a trailing newline to comply with POSIX file standards and improve diffs.

proxmox/macos.md (3)

3-3: Normalize emphasis on “any”.

Avoid using all-caps for “ANY” in the subheading to improve readability and tone:

- ## OSX-PROXMOX - Run macOS on ANY Computer - AMD & Intel
+ ## OSX-PROXMOX – Run macOS on any computer (AMD & Intel)

5-5: Convert bare URL to a markdown link.

Use descriptive link text instead of a bare URL to improve accessibility and style:

- https://github.com/luchina-gabriel/OSX-PROXMOX
+ [OSX-PROXMOX GitHub repository](https://github.com/luchina-gabriel/OSX-PROXMOX)
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

5-5: Bare URL used
null

(MD034, no-bare-urls)


8-8: Ensure file ends with a newline.

Add a trailing newline so tools and editors handle the file correctly.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f1bc7d8 and c4754ef.

📒 Files selected for processing (3)
  • docs/runbooks.md (1 hunks)
  • proxmox/haiku-os.md (1 hunks)
  • proxmox/macos.md (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • docs/runbooks.md
🧰 Additional context used
🪛 LanguageTool
proxmox/haiku-os.md

[style] ~3-~3: As an alternative to the over-used intensifier ‘very’, consider replacing this phrase.
Context: ...t, simple to use, easy to learn and yet very powerful. - [Download R1 version](https://www.h...

(EN_WEAK_ADJECTIVE)

🪛 markdownlint-cli2 (0.17.2)
proxmox/macos.md

5-5: Bare URL used
null

(MD034, no-bare-urls)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: build
  • GitHub Check: check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant