Skip to content

Commit

Permalink
add alias for bosh-agent
Browse files Browse the repository at this point in the history
this is to prevent to change all the test code for now
  • Loading branch information
ramonskie committed May 1, 2024
1 parent 8fb8eac commit 9161c36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stemcell_builder/stages/bosh_go_agent/apply.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cd $assets_dir
# mv bosh-agent $chroot/var/vcap/bosh/bin/

#TODO: uncomment above and remove the line below once we have a the bosha-agent is fixed upstream to use systemd-resolve
mv $assets_dir/bosh-agent $chroot/var/vcap/bosh/bin/bosh-agent
cp $assets_dir/bosh-agent $chroot/var/vcap/bosh/bin/bosh-agent

cp $assets_dir/bosh-agent-rc $chroot/var/vcap/bosh/bin/bosh-agent-rc

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Description=Bosh agent service
After=network.target


[Service]
WorkingDirectory=/var/vcap/bosh
ExecStart=/bin/bash -c 'PATH=/var/vcap/bosh/bin:$PATH \
Expand All @@ -13,3 +14,4 @@ KillMode=process

[Install]
WantedBy=multi-user.target
Alias=agent.service

0 comments on commit 9161c36

Please sign in to comment.