Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed Jul 2, 2020
1 parent 56a336d commit 4935106
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
- name: Build Image
run: |
docker build -t boot2homebridge .
docker run --rm boot2homebridge > boot2homebridge.iso
docker run --rm boot2homebridge > homebridge-vm-image.iso
- name: Calculate Checksum
id: get_sha256_checksum
run: |
export IMAGE_SHA256_CHECKSUM=$(shasum -a 256 boot2homebridge.iso | awk '{print $1}')
echo "$IMAGE_SHA256_CHECKSUM boot2homebridge.iso"
export IMAGE_SHA256_CHECKSUM=$(shasum -a 256 homebridge-vm-image.iso | awk '{print $1}')
echo "$IMAGE_SHA256_CHECKSUM homebridge-vm-image.iso"
echo ::set-output name=IMAGE_SHA256_CHECKSUM::${IMAGE_SHA256_CHECKSUM}
- name: Create Release
id: create_release
Expand All @@ -40,7 +40,7 @@ jobs:
<span align="center">
### [boot2homebridge.iso](https://github.com/oznu/boot2docker/releases/download/${{ steps.get_version.outputs.VERSION }}/boot2homebridge.iso)
### [homebridge-vm-image.iso](https://github.com/oznu/homebridge-vm-image/releases/download/${{ steps.get_version.outputs.VERSION }}/homebridge-vm-image.iso)
</span>
Expand All @@ -55,6 +55,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: boot2homebridge.iso
asset_name: boot2homebridge.iso
asset_path: homebridge-vm-image.iso
asset_name: homebridge-vm-image.iso
asset_content_type: application/x-iso9660-image
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Homebridge VM Boot Image

A minimal ISO image that runs Homebridge.
A minimal ISO image that runs Homebridge.

## Currently Experimental!

**For use in virtual machines only, do not boot this ISO in a machine with access to a disk containing data you care about.**

## Usage

1. Download the latest boot2homebridge.iso image here: https://github.com/oznu/boot2docker/releases
1. Download the latest homebridge-vm-image.iso image here: https://github.com/oznu/homebridge-vm-image/releases
2. Create a new virtual machine in HyperV, VirtualBox, Parallels Desktop, ESXi etc.
* *OS*: Linux -> Other Linux (64bit)
* *Hyper-V*: Select "Generation 1 VM"
Expand All @@ -18,7 +18,7 @@ A minimal ISO image that runs Homebridge.
* **HDD**: 8GB virtual hard disk (thin / dynamic)
* *ESXi*: Use a SATA / IDE Controller (SCSI controllers will not work)
* **Network Adapter**: [Bridged Adapter](https://github.com/homebridge/homebridge/wiki/VirtualBox-and-Parallels-Desktop-VM-Network-Settings) (VirtualBox / Parallels Desktop) or [External Switch](https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines) (Hyper-V).
* **ISO**: boot2homebridge.iso (this must stay attached forever, so store the .iso in a safe place).
* **ISO**: homebridge-vm-image.iso (this must stay attached forever, so store the .iso in a safe place).
* *VirtualBox*: check the "Is Live CD" box.
* *Parallels Desktop*: you may need to re-mount the ISO once after the first boot in the VM settings.
4. Start your VM.
Expand Down

0 comments on commit 4935106

Please sign in to comment.