Closed gabrielmocanu closed 2 years ago
After creating the pull request I was thinking also of something else.
Why don't kraft build
create by default the unikernel executable as the naming convention from kraft.yaml
.
So for example:
If we have app-A
, after kraft build
we will have the unikernel executable app-A_x86-64
, even though in the kraft.yaml
file we have the application name only 'A'. I think it's better to use only the notations from kraft.yml
.
Is there any consideration of using the directory name of the application for unikernel executable name?
I create another issue for what I told you before.(#83) But I think the PR from this issue is still relevant because it basically treats a possible error there.
@StefanJum
Can this issue be closed since this PR was merged?
Describe the bug Right now if you are trying to run the hello-world application you will end up with list index out of range error. This can be for all applications if the name of the directory of the application is different from the name of the application from kraft.yml.
To Reproduce Steps to reproduce the behavior:
Expected behavior The error is not descriptive at all, it is more of a python error than something suggestive so you can figure out what to do with kraft. From my point of view, it would be better to suggest to you that kraft doesn't find the executable.
Screenshots
Desktop (please complete the following information):
Additional context