diff --git a/docker/iou/boot.sh b/docker/iou/boot.sh index 6045fc3..1fc921b 100644 --- a/docker/iou/boot.sh +++ b/docker/iou/boot.sh @@ -10,5 +10,5 @@ python3 /netmap.py /bin/iouyap 513 & -/images/iou.bin 1 || /bin/bash -i +/images/iou.bin 1 || /bin/bash -i diff --git a/packer/alpine-linux/alpine-linux.json b/packer/alpine-linux/alpine-linux.json index ee8afc4..faf4ff3 100644 --- a/packer/alpine-linux/alpine-linux.json +++ b/packer/alpine-linux/alpine-linux.json @@ -22,7 +22,7 @@ "boot_command": [ "root", - "echo \"root:gns3\" | chpasswd", + "echo \"root:gns3\" | chpasswd", "ifconfig eth0 up && udhcpc -i eth0", "setup-apkrepos -r", "setup-sshd -c openssh" diff --git a/packer/alpine-linux/scripts/setup.sh b/packer/alpine-linux/scripts/setup.sh index 9347009..9114e5b 100644 --- a/packer/alpine-linux/scripts/setup.sh +++ b/packer/alpine-linux/scripts/setup.sh @@ -32,7 +32,7 @@ export SSHDOPTS="-c openssh" export NTPOPTS="-c none" 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 <> /opt/bootlocal.sh tce-load -wi dnsmasq -# Setup DHCP +# Setup DHCP # A random IP range is choose at startup allowing user to put multiple access links cat > setup_dhcp_and_ip.sh << 'EOF2' #!/bin/sh diff --git a/patch_appliance.py b/patch_appliance.py index 2dc3b4c..891a3d9 100644 --- a/patch_appliance.py +++ b/patch_appliance.py @@ -74,7 +74,7 @@ for appliance in glob.glob('appliances/*.gns3a'): continue config['qemu']['kvm'] = ask_multiple('KVM support for {}'.format(appliance), ['require', 'allow', 'disable']) - # Validate our changes + # Validate our changes jsonschema.validate(config, schema) # Save diff --git a/prettify_appliances.py b/prettify_appliances.py index 64b0600..3982660 100644 --- a/prettify_appliances.py +++ b/prettify_appliances.py @@ -75,7 +75,7 @@ for appliance in glob.glob('appliances/*.gns3a'): versions = sorted(versions, key=lambda t: t['name'], reverse=True) config['versions'] = versions - # Validate our changes + # Validate our changes jsonschema.validate(config, schema) # Save