-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Pass through no-API shutdown exit code
Without passing through the exit code a non-zero exit code was returned on a successful no-API shutdown. Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
- Loading branch information
Jonathan Woollett-Light
committed
Oct 17, 2023
1 parent
e71046f
commit cc5d228
Showing
4 changed files
with
97 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
{ | ||
"boot-source": { | ||
"kernel_image_path": "vmlinux.bin", | ||
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off", | ||
"initrd_path": null | ||
}, | ||
"drives": [ | ||
{ | ||
"drive_id": "rootfs", | ||
"path_on_host": "bionic.rootfs.ext4", | ||
"is_root_device": true, | ||
"partuuid": null, | ||
"is_read_only": false, | ||
"cache_type": "Unsafe", | ||
"io_engine": "Sync", | ||
"rate_limiter": null | ||
} | ||
], | ||
"machine-config": { | ||
"vcpu_count": 2, | ||
"mem_size_mib": 1024, | ||
"smt": false, | ||
"track_dirty_pages": false | ||
}, | ||
"cpu-config": null, | ||
"balloon": null, | ||
"network-interfaces": [], | ||
"vsock": null, | ||
"logger": null, | ||
"metrics": null, | ||
"mmds-config": null, | ||
"entropy": null | ||
} | ||
"boot-source": { | ||
"kernel_image_path": "vmlinux.bin", | ||
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off", | ||
"initrd_path": null | ||
}, | ||
"drives": [ | ||
{ | ||
"drive_id": "rootfs", | ||
"path_on_host": "bionic.rootfs.ext4", | ||
"is_root_device": true, | ||
"partuuid": null, | ||
"is_read_only": false, | ||
"cache_type": "Unsafe", | ||
"io_engine": "Sync", | ||
"rate_limiter": null | ||
} | ||
], | ||
"machine-config": { | ||
"vcpu_count": 2, | ||
"mem_size_mib": 1024, | ||
"smt": false, | ||
"track_dirty_pages": false | ||
}, | ||
"cpu-config": null, | ||
"balloon": null, | ||
"network-interfaces": [], | ||
"vsock": null, | ||
"logger": null, | ||
"metrics": null, | ||
"mmds-config": null, | ||
"entropy": null | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"boot-source": { | ||
"kernel_image_path": "vmlinux.bin", | ||
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off", | ||
"initrd_path": null | ||
}, | ||
"drives": [ | ||
{ | ||
"drive_id": "rootfs", | ||
"path_on_host": "bionic.rootfs.ext4", | ||
"is_root_device": true, | ||
"partuuid": null, | ||
"is_read_only": false, | ||
"cache_type": "Unsafe", | ||
"io_engine": "Sync", | ||
"rate_limiter": null | ||
} | ||
], | ||
"machine-config": { | ||
"vcpu_count": 2, | ||
"mem_size_mib": 1024, | ||
"smt": false, | ||
"track_dirty_pages": false | ||
}, | ||
"cpu-config": null, | ||
"balloon": null, | ||
"network-interfaces": [ | ||
{ | ||
"iface_id": "1", | ||
"host_dev_name": "tap0", | ||
"guest_mac": "06:00:c0:a8:00:02", | ||
"rx_rate_limiter": null, | ||
"tx_rate_limiter": null | ||
} | ||
], | ||
"vsock": null, | ||
"logger": null, | ||
"metrics": null, | ||
"mmds-config": null, | ||
"entropy": null | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters