mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-16 12:03:21 +00:00
revert: undo 4 racing/reconcile fix commits
This commit is contained in:
parent
637036b8c8
commit
0e5e989192
5 changed files with 29 additions and 35 deletions
|
|
@ -66,7 +66,7 @@ func configureMachine(ctx context.Context, client *apiClient, paths machinePaths
|
|||
return nil
|
||||
}
|
||||
|
||||
func launchJailedFirecracker(paths machinePaths, machineID MachineID, firecrackerBinaryPath string, jailerBinaryPath string, enablePCI bool, configFilePath string, metadataFilePath string) (*exec.Cmd, error) {
|
||||
func launchJailedFirecracker(paths machinePaths, machineID MachineID, firecrackerBinaryPath string, jailerBinaryPath string, enablePCI bool, configFilePath string) (*exec.Cmd, error) {
|
||||
args := []string{
|
||||
"--id", string(machineID),
|
||||
"--uid", strconv.Itoa(os.Getuid()),
|
||||
|
|
@ -81,9 +81,6 @@ func launchJailedFirecracker(paths machinePaths, machineID MachineID, firecracke
|
|||
}
|
||||
if configFilePath != "" {
|
||||
args = append(args, "--config-file", configFilePath)
|
||||
if metadataFilePath != "" {
|
||||
args = append(args, "--metadata", metadataFilePath)
|
||||
}
|
||||
} else {
|
||||
args = append(args,
|
||||
"--log-path", paths.JailedFirecrackerLogPath,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue