lightstar

command module
v0.2.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

README

LightStar

Build Status Go Report Card GPL 3.0 License

This software makes it easier for you to control compute resource.

CentOS7

Install by RPM packaging

yum install -y wget bridge-utils
yum install -y lightstar-x.x.x.rpm

Start Libvirtd and LightStar service.

systemctl enable libvirtd
systemctl start libvirtd

systemctl enable lightstar
systemctl start lightstar

Configure default datastore

mkdir -p /lighstar/datastore/01
virsh pool-create-as --name 01 --type dir --target /lightstar/datastore/01

Configure default network

cat > virbr0.xml <<EOF
    <network>
      <name>virbr0</name>
      <forward mode='nat'>
        <nat>
          <port start='1024' end='65535'/>
        </nat>
      </forward>
      <bridge name='virbr0' stp='on' delay='0'/>
      <ip address='172.16.10.1' netmask='255.255.255.0'>
        <dhcp>
          <range start='172.16.10.10' end='172.16.10.100'/>
        </dhcp>
      </ip>
    </network>
EOF
virsh net-create virbr0.xml

Upload a linux ISO file

cd /lightstar/datastore/01
wget http://mirrors.aliyun.com/centos/7.7.1908/isos/x86_64/CentOS-7-x86_64-Minimal-1908.iso

Open UI on browser

https://your-machine-address:10080

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
compute
api
network

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL