mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-19 21:07:55 +00:00
Cleanup unbreakable space
This commit is contained in:
parent
9e0e455052
commit
8d8e6ed37a
@ -10,5 +10,5 @@ python3 /netmap.py
|
|||||||
/bin/iouyap 513 &
|
/bin/iouyap 513 &
|
||||||
|
|
||||||
|
|
||||||
/images/iou.bin 1 || /bin/bash -i
|
/images/iou.bin 1 || /bin/bash -i
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"boot_command":
|
"boot_command":
|
||||||
[
|
[
|
||||||
"root<enter><wait>",
|
"root<enter><wait>",
|
||||||
"echo \"root:gns3\" | chpasswd<enter>",
|
"echo \"root:gns3\" | chpasswd<enter>",
|
||||||
"ifconfig eth0 up && udhcpc -i eth0<enter><wait5>",
|
"ifconfig eth0 up && udhcpc -i eth0<enter><wait5>",
|
||||||
"setup-apkrepos -r<enter><wait5>",
|
"setup-apkrepos -r<enter><wait5>",
|
||||||
"setup-sshd -c openssh<enter>"
|
"setup-sshd -c openssh<enter>"
|
||||||
|
@ -32,7 +32,7 @@ export SSHDOPTS="-c openssh"
|
|||||||
export NTPOPTS="-c none"
|
export NTPOPTS="-c none"
|
||||||
export SWAP_SIZE=0
|
export SWAP_SIZE=0
|
||||||
|
|
||||||
# Answer to password question twice and yes to format drive
|
# Answer to password question twice and yes to format drive
|
||||||
setup-alpine <<EOF
|
setup-alpine <<EOF
|
||||||
gns3
|
gns3
|
||||||
gns3
|
gns3
|
||||||
|
@ -8,7 +8,7 @@ echo "iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT" >> /opt/bootlocal.sh
|
|||||||
|
|
||||||
tce-load -wi dnsmasq
|
tce-load -wi dnsmasq
|
||||||
|
|
||||||
# Setup DHCP
|
# Setup DHCP
|
||||||
# A random IP range is choose at startup allowing user to put multiple access links
|
# A random IP range is choose at startup allowing user to put multiple access links
|
||||||
cat > setup_dhcp_and_ip.sh << 'EOF2'
|
cat > setup_dhcp_and_ip.sh << 'EOF2'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -74,7 +74,7 @@ for appliance in glob.glob('appliances/*.gns3a'):
|
|||||||
continue
|
continue
|
||||||
config['qemu']['kvm'] = ask_multiple('KVM support for {}'.format(appliance), ['require', 'allow', 'disable'])
|
config['qemu']['kvm'] = ask_multiple('KVM support for {}'.format(appliance), ['require', 'allow', 'disable'])
|
||||||
|
|
||||||
# Validate our changes
|
# Validate our changes
|
||||||
jsonschema.validate(config, schema)
|
jsonschema.validate(config, schema)
|
||||||
|
|
||||||
# Save
|
# Save
|
||||||
|
@ -75,7 +75,7 @@ for appliance in glob.glob('appliances/*.gns3a'):
|
|||||||
versions = sorted(versions, key=lambda t: t['name'], reverse=True)
|
versions = sorted(versions, key=lambda t: t['name'], reverse=True)
|
||||||
config['versions'] = versions
|
config['versions'] = versions
|
||||||
|
|
||||||
# Validate our changes
|
# Validate our changes
|
||||||
jsonschema.validate(config, schema)
|
jsonschema.validate(config, schema)
|
||||||
|
|
||||||
# Save
|
# Save
|
||||||
|
Loading…
Reference in New Issue
Block a user