Skip to content

Commit

Permalink
changes needed due to rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bonez committed May 11, 2023
1 parent cb01f9f commit 4caab8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/src/bin/embassy-init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn setup_or_init(cfg_path: Option<PathBuf>) -> Result<(), Error> {
.await
.is_err()
{
embassy::hostname::sync_hostname(&embassy::hostname::Hostname("embassy".into())).await?;
embassy::hostname::sync_hostname(&embassy::hostname::Hostname("start".into())).await?;

let ctx = SetupContext::init(cfg_path).await?;

Expand Down
2 changes: 1 addition & 1 deletion backend/src/os_install/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ pub async fn execute(
.invoke(crate::ErrorKind::OpenSsh)
.await?;

tokio::fs::write(current.join("etc/hostname"), "embassy\n").await?;
tokio::fs::write(current.join("etc/hostname"), "start\n").await?;

Command::new("chroot")
.arg(&current)
Expand Down
2 changes: 1 addition & 1 deletion libs/models/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl ErrorKind {
DiskManagement => "Disk Management Error",
OpenSsl => "OpenSSL Internal Error",
PasswordHashGeneration => "Password Hash Generation Error",
DiagnosticMode => "Embassy is in Diagnostic Mode",
DiagnosticMode => "Server is in Diagnostic Mode",
ParseDbField => "Database Field Parse Error",
Duplicate => "Duplication Error",
MultipleErrors => "Multiple Errors",
Expand Down

0 comments on commit 4caab8d

Please sign in to comment.