Hi,
My home network is 192.168.1.0/24
I tried to deploy Microstack, but the web UI doesn’t seem to work and I can’t reach my virtual machine.
What am I doing wrong?
snap install microstack --channel beta
snap set microstack config.network.ext-cidr=192.168.1.39/24
snap set microstack config.network.ext-gateway=192.168.1.39
snap set microstack config.network.control-ip=192.168.1.39
snap set microstack config.network.compute-ip=192.168.1.39
snap set microstack config.network.dns-servers=192.168.1.3
microstack.init --auto --control
snap alias microstack.openstack openstack && \
snap alias microstack.ovs-vsctl ovs-vsctl && \
openstack router remove subnet $(openstack router list | grep test-router | cut -d \| -f 2 | sed -e 's/^[ \t]*//') $(openstack subnet list | grep test-subnet | cut -d \| -f 2 | sed -e 's/^[ \t]*//') && \
openstack router delete $(openstack router list | grep test-router | cut -d \| -f 2 | sed -e 's/^[ \t]*//') && \
openstack network delete external && \
openstack network delete test && \
openstack network create --external --provider-physical-network physnet1 --provider-network-type flat public && \
openstack subnet create --no-dhcp --allocation-pool start=192.168.1.40,end=192.168.1.60 --network public --subnet-range 192.168.1.0/24 --dns-nameserver 192.168.1.3 --gateway 192.168.1.1 --ip-version 4 public-subnet && \
openstack network create --provider-network-type geneve private && \
openstack subnet create --dhcp --network private --subnet-range 10.0.10.0/24 --ip-version 4 private-subnet && \
openstack router create public-router && \
openstack router set --external-gateway public --enable-snat public-router && \
openstack router add subnet $(openstack router list | grep public-router | cut -d \| -f 2 | sed -e 's/^[ \t]*//') $(openstack subnet list | grep private-subnet | cut -d \| -f 2 | sed -e 's/^[ \t]*//') && \
mkdir -p /home/$(whoami)/.ssh && \
openstack keypair create sshkey > /home/$(whoami)/.ssh/id_rsa && \
openstack server create --network private --flavor m1.small --image cirros --key-name sshkey --security-group default workstation && \
openstack floating ip create --subnet public-subnet public --tag workstation && \
openstack server add floating ip workstation $(openstack floating ip list --tags workstation | grep 1 | cut -d \| -f 3 | sed -e 's/^[ \t]*//')