Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Google Compute Engine VM Install
« previous
next »
Print
Pages: [
1
]
Author
Topic: Google Compute Engine VM Install (Read 7219 times)
bvwj
Newbie
Posts: 8
Karma: 0
Google Compute Engine VM Install
«
on:
May 01, 2017, 03:36:08 am »
I feel like I am getting pretty close. It has been a struggle. I loaded OPNsense 17.1 into VirtualBox to generate an image. I have the image created and transferred to gcp. GCP recognizes the image an boots the VM. I have the serial terminal running to monitor the boot. Unfortunately I don't get a menu at the end of booting. Also SSH fails.
I didn't assign any interfaces in VirtualBox because I knew they would change when it booted on GCP.
My goal is to get it running on the low cost micro instance.
Can you provide any clues from this log? I'll share the image if I can get it working.
/ __ |/ ___ |/ __ |
| | | | |__/ | | | |___ ___ _ __ ___ ___
| | | | ___/| | | / __|/ _ \ '_ \/ __|/ _ \
| |__| | | | | | \__ \ __/ | | \__ \ __/
|_____/|_| |_| /__|___/\___|_| |_|___/\___|
--Log cleared because it wasn't important.
«
Last Edit: May 02, 2017, 06:33:57 pm by bvwj
»
Logged
shezzski
Newbie
Posts: 16
Karma: 2
Re: Google Compute Engine VM Install
«
Reply #1 on:
May 01, 2017, 05:55:47 am »
Is there a way to connect to an interactive serial console so that you can login via serial? If you do you should be able to assign/configure the interfaces, then once you have network connectivity you can SSH in.
Logged
bvwj
Newbie
Posts: 8
Karma: 0
Re: Google Compute Engine VM Install
«
Reply #2 on:
May 01, 2017, 06:30:48 am »
The console is interactive already. I can navigate the first menu just fine.
The current problem is I never get the second menu.
Logged
shezzski
Newbie
Posts: 16
Karma: 2
Re: Google Compute Engine VM Install
«
Reply #3 on:
May 01, 2017, 08:38:42 am »
Are you trying to run this from a f1-micro? I might have some time to see if I can get it going.
Logged
bvwj
Newbie
Posts: 8
Karma: 0
Re: Google Compute Engine VM Install
«
Reply #4 on:
May 01, 2017, 03:31:41 pm »
My current results are from an f1-micro instance. Low cost is my goal.
I have worked through several gce issues to get this far, I could use some help getting across the finish line.
Logged
bvwj
Newbie
Posts: 8
Karma: 0
Re: Google Compute Engine VM Install
«
Reply #5 on:
May 01, 2017, 03:39:56 pm »
It appears I can share my current image if you want to bring up your own instance. I think I need your Google based email address to authorize you to use the image.
Logged
bvwj
Newbie
Posts: 8
Karma: 0
Re: Google Compute Engine VM Install
«
Reply #6 on:
May 01, 2017, 07:45:32 pm »
I may be closer to one issue. Every time I modify /etc/ttys it gets overwritten on the next boot. This happens in VirtualBox and GCP.
How can I get etc/ttys changes to stick?
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: Google Compute Engine VM Install
«
Reply #7 on:
May 02, 2017, 04:57:23 pm »
Forget the original post. If you don't have NICs then there is no point in trying.
You will need NICs first before you can do anything at all.
Get that, and you have WebGUI and SSH working.
Does Google Compute Engine support FreeBSD?
Your boot log tells me it doesn't.
Original: You need a different file for that. The OPNsense file that overwrites those kinds of file you're editing.
Fitch will know which one.
«
Last Edit: May 02, 2017, 05:05:18 pm by weust
»
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
bvwj
Newbie
Posts: 8
Karma: 0
Re: Google Compute Engine VM Install
«
Reply #8 on:
May 02, 2017, 06:38:05 pm »
I have the serial comm and Web GUI up and running after a few additional changes.
My biggest problem was following the advice here:
https://www.netgate.com/docs/rcc-ve-2440/opnsense.html
Possibly this worked in version 15, but it took me way off track getting version 17 to run.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Google Compute Engine VM Install