Спасибо за совет в комментариях:
configure
set interfaces ethernet eth0 address dhcp
commit
configure
set interfaces ethernet eth0 address dhcp
commit
s3cmd --disable-multipart --host=storage.googleapis.com --host-bucket="%(bucket).storage.googleapis.com" --access_key XXX --secret_key XXX filenaname put fastnetmon-1.1.6-1.el8.x86_64.rpm put s3://bucket_name/file_pathdisable-multipart flag is important! It will return following error without it:
ERROR: S3 error: 400 (InvalidArgument): Invalid argument.